Update types
This commit is contained in:
parent
a1ece06ba8
commit
183276e857
@ -1,11 +1,11 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { BotGenerator } from "../generators/BotGenerator";
|
||||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
import { BotHelper } from "../helpers/BotHelper";
|
||||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||||
import { IBotCore } from "../models/eft/common/tables/IBotCore";
|
import { IBotCore } from "../models/eft/common/tables/IBotCore";
|
||||||
|
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { BotHelper } from "../helpers/BotHelper";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { BotGenerator } from "../generators/BotGenerator";
|
|
||||||
export declare class BotController {
|
export declare class BotController {
|
||||||
private databaseServer;
|
private databaseServer;
|
||||||
private botGenerator;
|
private botGenerator;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||||
import { DialogueInfo } from "../models/eft/profile/IAkiProfile";
|
import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse";
|
||||||
import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData";
|
|
||||||
import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse";
|
import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse";
|
||||||
import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData";
|
import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData";
|
||||||
import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse";
|
import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData";
|
||||||
|
import { DialogueInfo } from "../models/eft/profile/IAkiProfile";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||||
export declare class DialogueController {
|
export declare class DialogueController {
|
||||||
private httpResponse;
|
private httpResponse;
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { HideoutHelper } from "../helpers/HideoutHelper";
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
import { InventoryHelper } from "../helpers/InventoryHelper";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { PaymentHelper } from "../helpers/PaymentHelper";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { PlayerService } from "../services/PlayerService";
|
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { PaymentHelper } from "../helpers/PaymentHelper";
|
|
||||||
import { InventoryHelper } from "../helpers/InventoryHelper";
|
|
||||||
import { HideoutHelper } from "../helpers/HideoutHelper";
|
|
||||||
import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData";
|
import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData";
|
||||||
import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData";
|
|
||||||
import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData";
|
|
||||||
import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData";
|
|
||||||
import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData";
|
|
||||||
import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData";
|
|
||||||
import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData";
|
|
||||||
import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData";
|
import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData";
|
||||||
|
import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData";
|
||||||
|
import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData";
|
||||||
|
import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData";
|
||||||
|
import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData";
|
||||||
|
import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData";
|
||||||
|
import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData";
|
||||||
|
import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { PlayerService } from "../services/PlayerService";
|
||||||
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
|
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
export declare class HideoutController {
|
export declare class HideoutController {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { TraderHelper } from "../helpers/TraderHelper";
|
|
||||||
import { HealthHelper } from "../helpers/HealthHelper";
|
import { HealthHelper } from "../helpers/HealthHelper";
|
||||||
|
import { InRaidHelper } from "../helpers/InRaidHelper";
|
||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
|
import { QuestHelper } from "../helpers/QuestHelper";
|
||||||
|
import { TraderHelper } from "../helpers/TraderHelper";
|
||||||
import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData";
|
import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData";
|
||||||
import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData";
|
import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { QuestHelper } from "../helpers/QuestHelper";
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { InRaidHelper } from "../helpers/InRaidHelper";
|
|
||||||
import { InsuranceService } from "../services/InsuranceService";
|
import { InsuranceService } from "../services/InsuranceService";
|
||||||
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
export declare class InraidController {
|
export declare class InraidController {
|
||||||
private saveServer;
|
private saveServer;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { PaymentService } from "../services/PaymentService";
|
|
||||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData";
|
import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData";
|
||||||
import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData";
|
import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { InsuranceService } from "../services/InsuranceService";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { InsuranceService } from "../services/InsuranceService";
|
||||||
|
import { PaymentService } from "../services/PaymentService";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
export declare class InsuranceController {
|
export declare class InsuranceController {
|
||||||
private logger;
|
private logger;
|
||||||
private randomUtil;
|
private randomUtil;
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
||||||
|
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
||||||
|
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
||||||
|
import { Info } from "../models/eft/profile/IAkiProfile";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
|
||||||
import { Info } from "../models/eft/profile/IAkiProfile";
|
|
||||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
|
||||||
export declare class LauncherController {
|
export declare class LauncherController {
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
private saveServer;
|
private saveServer;
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
import { TimeUtil } from "../utils/TimeUtil";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { QuestHelper } from "../helpers/QuestHelper";
|
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { QuestConditionHelper } from "../helpers/QuestConditionHelper";
|
import { QuestConditionHelper } from "../helpers/QuestConditionHelper";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { QuestHelper } from "../helpers/QuestHelper";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { PlayerService } from "../services/PlayerService";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { IQuest } from "../models/eft/common/tables/IQuest";
|
import { IQuest } from "../models/eft/common/tables/IQuest";
|
||||||
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData";
|
import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData";
|
||||||
import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData";
|
import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData";
|
||||||
import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData";
|
import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { PlayerService } from "../services/PlayerService";
|
||||||
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
export declare class QuestController {
|
export declare class QuestController {
|
||||||
private logger;
|
private logger;
|
||||||
private timeUtil;
|
private timeUtil;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { QuestHelper } from "../helpers/QuestHelper";
|
import { QuestHelper } from "../helpers/QuestHelper";
|
||||||
import { TraderHelper } from "../helpers/TraderHelper";
|
|
||||||
import { PaymentService } from "../services/PaymentService";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
|
||||||
import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest";
|
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
|
||||||
import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { RepairHelper } from "../helpers/RepairHelper";
|
import { RepairHelper } from "../helpers/RepairHelper";
|
||||||
|
import { TraderHelper } from "../helpers/TraderHelper";
|
||||||
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
|
import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest";
|
||||||
|
import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { PaymentService } from "../services/PaymentService";
|
||||||
export declare class RepairController {
|
export declare class RepairController {
|
||||||
private logger;
|
private logger;
|
||||||
private itemEventRouter;
|
private itemEventRouter;
|
||||||
|
@ -8,7 +8,8 @@ import { IPmcData, TraderInfo } from "../models/eft/common/IPmcData";
|
|||||||
import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests";
|
import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest";
|
import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest";
|
||||||
import { ELocationName, IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig";
|
import { ELocationName } from "../models/enums/ELocationName";
|
||||||
|
import { IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { WeatherGenerator } from "../generators/WeatherGenerator";
|
import { WeatherGenerator } from "../generators/WeatherGenerator";
|
||||||
import { IWeatherData } from "../models/eft/weather/IWeatherData";
|
import { IWeatherData } from "../models/eft/weather/IWeatherData";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
export declare class WeatherController {
|
export declare class WeatherController {
|
||||||
private weatherGenerator;
|
private weatherGenerator;
|
||||||
private configServer;
|
private configServer;
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
import { HashUtil } from "../utils/HashUtil";
|
import { BotHelper } from "../helpers/BotHelper";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { BotInventoryGenerator } from "./BotInventoryGenerator";
|
import { BotInventoryGenerator } from "./BotInventoryGenerator";
|
||||||
import { BotHelper } from "../helpers/BotHelper";
|
|
||||||
export declare class BotGenerator {
|
export declare class BotGenerator {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
|
||||||
import { PMCLootGenerator } from "../generators/PMCLootGenerator";
|
import { PMCLootGenerator } from "../generators/PMCLootGenerator";
|
||||||
|
import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
||||||
|
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||||
import { Inventory as PmcInventory } from "../models/eft/common/IPmcData";
|
import { Inventory as PmcInventory } from "../models/eft/common/IPmcData";
|
||||||
import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType";
|
import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
|
||||||
export declare class BotLootGenerator {
|
export declare class BotLootGenerator {
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { ContainerHelper } from "../helpers/ContainerHelper";
|
||||||
import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../models/eft/common/tables/ILootBase";
|
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
|
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||||
import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot";
|
import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase";
|
||||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ContainerHelper } from "../helpers/ContainerHelper";
|
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { MathUtil } from "../utils/MathUtil";
|
import { MathUtil } from "../utils/MathUtil";
|
||||||
import { ObjectId } from "../utils/ObjectId";
|
import { ObjectId } from "../utils/ObjectId";
|
||||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export interface IContainerItem {
|
export interface IContainerItem {
|
||||||
items: Item[];
|
items: Item[];
|
||||||
width: number;
|
width: number;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
export declare class RagfairAssortGenerator {
|
export declare class RagfairAssortGenerator {
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||||
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
||||||
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { FenceService } from "../services/FenceService";
|
||||||
|
import { RagfairOfferService } from "../services/RagfairOfferService";
|
||||||
|
import { RagfairPriceService } from "../services/RagfairPriceService";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
|
||||||
import { RagfairAssortGenerator } from "./RagfairAssortGenerator";
|
import { RagfairAssortGenerator } from "./RagfairAssortGenerator";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { RagfairOfferService } from "../services/RagfairOfferService";
|
|
||||||
import { RagfairPriceService } from "../services/RagfairPriceService";
|
|
||||||
import { FenceService } from "../services/FenceService";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class RagfairOfferGenerator {
|
export declare class RagfairOfferGenerator {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -12,7 +12,7 @@ import { RandomUtil } from "../utils/RandomUtil";
|
|||||||
import { ContainerHelper } from "./ContainerHelper";
|
import { ContainerHelper } from "./ContainerHelper";
|
||||||
import { InventoryHelper } from "./InventoryHelper";
|
import { InventoryHelper } from "./InventoryHelper";
|
||||||
import { ItemHelper } from "./ItemHelper";
|
import { ItemHelper } from "./ItemHelper";
|
||||||
declare class BotGeneratorHelper {
|
export declare class BotGeneratorHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
@ -58,22 +58,3 @@ export declare class ExhaustableArray<T> {
|
|||||||
getFirstValue(): T;
|
getFirstValue(): T;
|
||||||
hasValues(): boolean;
|
hasValues(): boolean;
|
||||||
}
|
}
|
||||||
declare namespace BotGeneratorHelper {
|
|
||||||
enum EquipmentSlots {
|
|
||||||
HEADWEAR = "Headwear",
|
|
||||||
EARPIECE = "Earpiece",
|
|
||||||
FACE_COVER = "FaceCover",
|
|
||||||
ARMOR_VEST = "ArmorVest",
|
|
||||||
EYEWEAR = "Eyewear",
|
|
||||||
ARM_BAND = "ArmBand",
|
|
||||||
TACTICAL_VEST = "TacticalVest",
|
|
||||||
POCKETS = "Pockets",
|
|
||||||
BACKPACK = "Backpack",
|
|
||||||
SECURED_CONTAINER = "SecuredContainer",
|
|
||||||
FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon",
|
|
||||||
SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon",
|
|
||||||
HOLSTER = "Holster",
|
|
||||||
SCABBARD = "Scabbard"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export { BotGeneratorHelper };
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class BotHelper {
|
export declare class BotHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
|
import { Dialogue, MessageContent, MessagePreview } from "../models/eft/profile/IAkiProfile";
|
||||||
|
import { MessageType } from "../models/enums/MessageType";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { ItemHelper } from "./ItemHelper";
|
|
||||||
import { Dialogue, MessageContent, MessagePreview, MessageType } from "../models/eft/profile/IAkiProfile";
|
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { NotifierHelper } from "./NotifierHelper";
|
import { ItemHelper } from "./ItemHelper";
|
||||||
import { NotificationSendHelper } from "./NotificationSendHelper";
|
import { NotificationSendHelper } from "./NotificationSendHelper";
|
||||||
|
import { NotifierHelper } from "./NotifierHelper";
|
||||||
export declare class DialogueHelper {
|
export declare class DialogueHelper {
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
private saveServer;
|
private saveServer;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { BotHelper } from "./BotHelper";
|
import { BotHelper } from "./BotHelper";
|
||||||
export declare class DurabilityLimitsHelper {
|
export declare class DurabilityLimitsHelper {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { IAkiProfile } from "../models/eft/profile/IAkiProfile";
|
|
||||||
import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData";
|
import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData";
|
||||||
|
import { IAkiProfile } from "../models/eft/profile/IAkiProfile";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class HealthHelper {
|
export declare class HealthHelper {
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private logger;
|
private logger;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData";
|
import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { ITemplateItem, StackSlot } from "../models/eft/common/tables/ITemplateItem";
|
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
|
import { ITemplateItem, StackSlot } from "../models/eft/common/tables/ITemplateItem";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
declare class ItemHelper {
|
declare class ItemHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
@ -139,98 +139,9 @@ declare class ItemHelper {
|
|||||||
getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize;
|
getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize;
|
||||||
}
|
}
|
||||||
declare namespace ItemHelper {
|
declare namespace ItemHelper {
|
||||||
enum BaseClasses {
|
|
||||||
WEAPON = "5422acb9af1c889c16000029",
|
|
||||||
ARMOR = "5448e54d4bdc2dcc718b4568",
|
|
||||||
VEST = "5448e5284bdc2dcb718b4567",
|
|
||||||
BACKPACK = "5448e53e4bdc2d60728b4567",
|
|
||||||
VISORS = "5448e5724bdc2ddf718b4568",
|
|
||||||
FOOD = "5448e8d04bdc2ddf718b4569",
|
|
||||||
DRINK = "5448e8d64bdc2dce718b4568",
|
|
||||||
BARTER_ITEM = "5448eb774bdc2d0a728b4567",
|
|
||||||
INFO = "5448ecbe4bdc2d60728b4568",
|
|
||||||
MEDKIT = "5448f39d4bdc2d0a728b4568",
|
|
||||||
DRUGS = "5448f3a14bdc2d27728b4569",
|
|
||||||
STIMULATOR = "5448f3a64bdc2d60728b456a",
|
|
||||||
MEDICAL = "5448f3ac4bdc2dce718b4569",
|
|
||||||
MEDICAL_SUPPLIES = "57864c8c245977548867e7f1",
|
|
||||||
MOD = "5448fe124bdc2da5018b4567",
|
|
||||||
FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b",
|
|
||||||
FUEL = "5d650c3e815116009f6201d2",
|
|
||||||
GEAR_MOD = "55802f3e4bdc2de7118b4584",
|
|
||||||
STOCK = "55818a594bdc2db9688b456a",
|
|
||||||
FOREGRIP = "55818af64bdc2d5b648b4570",
|
|
||||||
MASTER_MOD = "55802f4a4bdc2ddb688b4569",
|
|
||||||
MOUNT = "55818b224bdc2dde698b456f",
|
|
||||||
MUZZLE = "5448fe394bdc2d0d028b456c",
|
|
||||||
SIGHTS = "5448fe7a4bdc2d6f028b456b",
|
|
||||||
MEDS = "543be5664bdc2dd4348b4569",
|
|
||||||
MONEY = "543be5dd4bdc2deb348b4569",
|
|
||||||
KEY = "543be5e94bdc2df1348b4568",
|
|
||||||
KEY_MECHANICAL = "5c99f98d86f7745c314214b3",
|
|
||||||
KEYCARD = "5c164d2286f774194c5e69fa",
|
|
||||||
EQUIPMENT = "543be5f84bdc2dd4348b456a",
|
|
||||||
THROW_WEAPON = "543be6564bdc2df4348b4568",
|
|
||||||
FOOD_DRINK = "543be6674bdc2df1348b4569",
|
|
||||||
PISTOL = "5447b5cf4bdc2d65278b4567",
|
|
||||||
SMG = "5447b5e04bdc2d62278b4567",
|
|
||||||
ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567",
|
|
||||||
ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567",
|
|
||||||
SHOTGUN = "5447b6094bdc2dc3278b4567",
|
|
||||||
MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567",
|
|
||||||
SNIPER_RIFLE = "5447b6254bdc2dc3278b4568",
|
|
||||||
MACHINE_GUN = "5447bed64bdc2d97278b4568",
|
|
||||||
GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568",
|
|
||||||
SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569",
|
|
||||||
SPEC_ITEM = "5447e0e74bdc2d3c308b4567",
|
|
||||||
KNIFE = "5447e1d04bdc2dff2f8b4567",
|
|
||||||
AMMO = "5485a8684bdc2da71d8b4567",
|
|
||||||
AMMO_BOX = "543be5cb4bdc2deb348b4568",
|
|
||||||
LOOT_CONTAINER = "566965d44bdc2d814c8b4571",
|
|
||||||
MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a",
|
|
||||||
SEARCHABLE_ITEM = "566168634bdc2d144c8b456c",
|
|
||||||
STASH = "566abbb64bdc2d144c8b457d",
|
|
||||||
SORTING_TABLE = "6050cac987d3f925bf016837",
|
|
||||||
LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569",
|
|
||||||
SIMPLE_CONTAINER = "5795f317245977243854e041",
|
|
||||||
INVENTORY = "55d720f24bdc2d88028b456d",
|
|
||||||
STATIONARY_CONTAINER = "567583764bdc2d98058b456e",
|
|
||||||
POCKETS = "557596e64bdc2dc2118b4571",
|
|
||||||
ARMBAND = "5b3f15d486f77432d0509248",
|
|
||||||
DOG_TAG_USEC = "59f32c3b86f77472a31742f0",
|
|
||||||
DOG_TAG_BEAR = "59f32bb586f774757e1e8442",
|
|
||||||
JEWELRY = "57864a3d24597754843f8721",
|
|
||||||
ELECTRONICS = "57864a66245977548f04a81f",
|
|
||||||
BUILDING_MATERIAL = "57864ada245977548638de91",
|
|
||||||
TOOL = "57864bb7245977548b3b66c2",
|
|
||||||
HOUSEHOLD_GOODS = "57864c322459775490116fbf",
|
|
||||||
LUBRICANT = "57864e4c24597754843f8723",
|
|
||||||
BATTERY = "57864ee62459775490116fc1",
|
|
||||||
ASSAULT_SCOPE = "55818add4bdc2d5b648b456f",
|
|
||||||
REFLEX_SIGHT = "55818ad54bdc2ddc698b4569",
|
|
||||||
TACTICAL_COMBO = "55818b164bdc2ddc698b456c",
|
|
||||||
MAGAZINE = "5448bc234bdc2d3c308b4569",
|
|
||||||
LIGHT_LASER = "55818b0e4bdc2dde698b456e",
|
|
||||||
FLASH_HIDER = "550aa4bf4bdc2dd6348b456b",
|
|
||||||
COLLIMATOR = "55818ad54bdc2ddc698b4569",
|
|
||||||
COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b",
|
|
||||||
COMPENSATOR = "550aa4af4bdc2dd4348b456e",
|
|
||||||
OPTIC_SCOPE = "55818ae44bdc2dde698b456c",
|
|
||||||
SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a",
|
|
||||||
OTHER = "590c745b86f7743cc433c5f2",
|
|
||||||
SILENCER = "550aa4cd4bdc2dd8348b456c",
|
|
||||||
PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc",
|
|
||||||
ITEM = "54009119af1c881c07000029",
|
|
||||||
CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25"
|
|
||||||
}
|
|
||||||
interface ItemSize {
|
interface ItemSize {
|
||||||
width: number;
|
width: number;
|
||||||
height: number;
|
height: number;
|
||||||
}
|
}
|
||||||
enum Money {
|
|
||||||
ROUBLES = "5449016a4bdc2d6f028b456f",
|
|
||||||
EUROS = "569668774bdc2da2298b4568",
|
|
||||||
DOLLARS = "5696686a4bdc2da3298b456a"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
export { ItemHelper };
|
export { ItemHelper };
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MemberCategory } from "../models/eft/common/MemberCategory";
|
import { MemberCategory } from "../models/enums/MemberCategory";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class RepairHelper {
|
export declare class RepairHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
|
import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { FenceService } from "../services/FenceService";
|
||||||
import { PlayerService } from "../services/PlayerService";
|
import { PlayerService } from "../services/PlayerService";
|
||||||
import { HandbookHelper } from "./HandbookHelper";
|
import { HandbookHelper } from "./HandbookHelper";
|
||||||
import { ItemHelper } from "./ItemHelper";
|
import { ItemHelper } from "./ItemHelper";
|
||||||
import { ProfileHelper } from "./ProfileHelper";
|
|
||||||
import { PaymentHelper } from "./PaymentHelper";
|
import { PaymentHelper } from "./PaymentHelper";
|
||||||
import { FenceService } from "../services/FenceService";
|
import { ProfileHelper } from "./ProfileHelper";
|
||||||
import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class TraderHelper {
|
export declare class TraderHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private databaseServer;
|
private databaseServer;
|
||||||
|
@ -1,25 +1,29 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
import { ModLoader } from "../models/spt/mod/IMod";
|
||||||
import { IModLoader } from "../models/spt/mod/IModLoader";
|
import { IModLoader } from "../models/spt/mod/IModLoader";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { ModCompilerService } from "../services/ModCompilerService";
|
import { ModCompilerService } from "../services/ModCompilerService";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { VFS } from "../utils/VFS";
|
import { VFS } from "../utils/VFS";
|
||||||
|
import { BundleLoader } from "./BundleLoader";
|
||||||
export declare class InitialModLoader implements IModLoader {
|
export declare class InitialModLoader implements IModLoader {
|
||||||
private logger;
|
private logger;
|
||||||
private vfs;
|
private vfs;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private modCompilerService;
|
private modCompilerService;
|
||||||
|
private bundleLoader;
|
||||||
private configServer;
|
private configServer;
|
||||||
private static container;
|
private static container;
|
||||||
private readonly basepath;
|
private readonly basepath;
|
||||||
private imported;
|
private imported;
|
||||||
private onLoad;
|
private onLoad;
|
||||||
private akiConfig;
|
private akiConfig;
|
||||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, configServer: ConfigServer);
|
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer);
|
||||||
load(container: DependencyContainer): Promise<void>;
|
load(container: DependencyContainer): Promise<void>;
|
||||||
getBundles(local: boolean): string;
|
getBundles(local: boolean): string;
|
||||||
getBundle(key: string, local: boolean): void;
|
getBundle(key: string, local: boolean): void;
|
||||||
|
getMods(): Record<string, ModLoader.IMod>;
|
||||||
getImportedModsNames(): string[];
|
getImportedModsNames(): string[];
|
||||||
getModPath(mod: string): string;
|
getModPath(mod: string): string;
|
||||||
private importClass;
|
private importClass;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { IRagfairOffer } from "../ragfair/IRagfairOffer";
|
import { IRagfairOffer } from "../ragfair/IRagfairOffer";
|
||||||
import { IPmcDataRepeatableQuest } from "./tables/IRepeatableQuests";
|
import { IPmcDataRepeatableQuest } from "./tables/IRepeatableQuests";
|
||||||
import { Item, Upd } from "./tables/IItem";
|
import { Item, Upd } from "./tables/IItem";
|
||||||
import { HideoutAreasEnum } from "../hideout/HideoutAreasEnum";
|
import { HideoutAreas } from "../../enums/HideoutAreas";
|
||||||
import { MemberCategory } from "./MemberCategory";
|
import { MemberCategory } from "../../enums/MemberCategory";
|
||||||
export interface IPmcData {
|
export interface IPmcData {
|
||||||
_id: string;
|
_id: string;
|
||||||
aid: string;
|
aid: string;
|
||||||
@ -289,7 +289,7 @@ export interface Production extends Productive {
|
|||||||
ProductionTime: number;
|
ProductionTime: number;
|
||||||
}
|
}
|
||||||
export interface HideoutArea {
|
export interface HideoutArea {
|
||||||
type: HideoutAreasEnum;
|
type: HideoutAreas;
|
||||||
level: number;
|
level: number;
|
||||||
active: boolean;
|
active: boolean;
|
||||||
passiveBonusesEnabled: boolean;
|
passiveBonusesEnabled: boolean;
|
||||||
|
@ -46,6 +46,40 @@ export interface AvailableForProps {
|
|||||||
visibilityConditions?: VisibilityCondition[];
|
visibilityConditions?: VisibilityCondition[];
|
||||||
target?: string | string[];
|
target?: string | string[];
|
||||||
status?: number[];
|
status?: number[];
|
||||||
|
onlyFoundInRaid?: boolean;
|
||||||
|
oneSessionOnly?: boolean;
|
||||||
|
doNotResetIfCounterCompleted?: boolean;
|
||||||
|
dogtagLevel?: number;
|
||||||
|
maxDurability?: number;
|
||||||
|
minDurability?: number;
|
||||||
|
counter?: AvailableForCounter;
|
||||||
|
plantTime?: number;
|
||||||
|
zoneId?: string;
|
||||||
|
type?: boolean;
|
||||||
|
}
|
||||||
|
export interface AvailableForCounter {
|
||||||
|
id: string;
|
||||||
|
conditions: CounterCondition[];
|
||||||
|
}
|
||||||
|
export interface CounterCondition {
|
||||||
|
_parent: string;
|
||||||
|
_props: CounterProps;
|
||||||
|
}
|
||||||
|
export interface CounterProps {
|
||||||
|
id: string;
|
||||||
|
target: string[] | string;
|
||||||
|
compareMethod?: string;
|
||||||
|
value?: string;
|
||||||
|
weapon?: string[];
|
||||||
|
equipmentInclusive?: string[][];
|
||||||
|
weaponModsInclusive?: string[][];
|
||||||
|
status?: string[];
|
||||||
|
bodyPart?: string[];
|
||||||
|
daytime?: DaytimeCounter;
|
||||||
|
}
|
||||||
|
export interface DaytimeCounter {
|
||||||
|
from: number;
|
||||||
|
to: number;
|
||||||
}
|
}
|
||||||
export interface VisibilityCondition {
|
export interface VisibilityCondition {
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MemberCategory } from "../common/MemberCategory";
|
import { MemberCategory } from "../../enums/MemberCategory";
|
||||||
export interface IGetFriendListDataResponse {
|
export interface IGetFriendListDataResponse {
|
||||||
Friends: Friend[];
|
Friends: Friend[];
|
||||||
Ignore: any[];
|
Ignore: any[];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MessageType } from "../profile/IAkiProfile";
|
import { MessageType } from "../../enums/MessageType";
|
||||||
export interface IGetMailDialogViewRequestData {
|
export interface IGetMailDialogViewRequestData {
|
||||||
type: MessageType;
|
type: MessageType;
|
||||||
dialogId: string;
|
dialogId: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MessageType } from "../profile/IAkiProfile";
|
import { MessageType } from "../../enums/MessageType";
|
||||||
export interface ISendMessageRequest {
|
export interface ISendMessageRequest {
|
||||||
dialogId: string;
|
dialogId: string;
|
||||||
type: MessageType;
|
type: MessageType;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { MessageType } from "../../enums/MessageType";
|
||||||
import { IPmcData } from "../common/IPmcData";
|
import { IPmcData } from "../common/IPmcData";
|
||||||
import { Item } from "../common/tables/IItem";
|
import { Item } from "../common/tables/IItem";
|
||||||
export interface IAkiProfile {
|
export interface IAkiProfile {
|
||||||
@ -43,22 +44,6 @@ export interface DialogueInfo {
|
|||||||
new: number;
|
new: number;
|
||||||
attachmentsNew: number;
|
attachmentsNew: number;
|
||||||
}
|
}
|
||||||
export declare enum MessageType {
|
|
||||||
USER_MESSAGE = 1,
|
|
||||||
NPC_TRADER = 2,
|
|
||||||
AUCTION_MESSAGE = 3,
|
|
||||||
FLEAMARKET_MESSAGE = 4,
|
|
||||||
ADMIN_MESSAGE = 5,
|
|
||||||
GROUP_CHAT_MESSAGE = 6,
|
|
||||||
SYSTEM_MESSAGE = 7,
|
|
||||||
INSURANCE_RETURN = 8,
|
|
||||||
GLOBAL_CHAT = 9,
|
|
||||||
QUEST_START = 10,
|
|
||||||
QUEST_FAIL = 11,
|
|
||||||
QUEST_SUCCESS = 12,
|
|
||||||
MESSAGE_WITH_ITEMS = 13,
|
|
||||||
INITIAL_SUPPORT = 14
|
|
||||||
}
|
|
||||||
export interface Message {
|
export interface Message {
|
||||||
_id: string;
|
_id: string;
|
||||||
uid: string;
|
uid: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MemberCategory } from "../common/MemberCategory";
|
import { MemberCategory } from "../../enums/MemberCategory";
|
||||||
import { Item } from "../common/tables/IItem";
|
import { Item } from "../common/tables/IItem";
|
||||||
export interface IRagfairOffer {
|
export interface IRagfairOffer {
|
||||||
sellResult?: SellResult[];
|
sellResult?: SellResult[];
|
||||||
|
84
TypeScript/10ScopesAndTypes/types/models/enums/BaseClasses.d.ts
vendored
Normal file
84
TypeScript/10ScopesAndTypes/types/models/enums/BaseClasses.d.ts
vendored
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
export declare enum BaseClasses {
|
||||||
|
WEAPON = "5422acb9af1c889c16000029",
|
||||||
|
ARMOR = "5448e54d4bdc2dcc718b4568",
|
||||||
|
VEST = "5448e5284bdc2dcb718b4567",
|
||||||
|
BACKPACK = "5448e53e4bdc2d60728b4567",
|
||||||
|
VISORS = "5448e5724bdc2ddf718b4568",
|
||||||
|
FOOD = "5448e8d04bdc2ddf718b4569",
|
||||||
|
DRINK = "5448e8d64bdc2dce718b4568",
|
||||||
|
BARTER_ITEM = "5448eb774bdc2d0a728b4567",
|
||||||
|
INFO = "5448ecbe4bdc2d60728b4568",
|
||||||
|
MEDKIT = "5448f39d4bdc2d0a728b4568",
|
||||||
|
DRUGS = "5448f3a14bdc2d27728b4569",
|
||||||
|
STIMULATOR = "5448f3a64bdc2d60728b456a",
|
||||||
|
MEDICAL = "5448f3ac4bdc2dce718b4569",
|
||||||
|
MEDICAL_SUPPLIES = "57864c8c245977548867e7f1",
|
||||||
|
MOD = "5448fe124bdc2da5018b4567",
|
||||||
|
FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b",
|
||||||
|
FUEL = "5d650c3e815116009f6201d2",
|
||||||
|
GEAR_MOD = "55802f3e4bdc2de7118b4584",
|
||||||
|
STOCK = "55818a594bdc2db9688b456a",
|
||||||
|
FOREGRIP = "55818af64bdc2d5b648b4570",
|
||||||
|
MASTER_MOD = "55802f4a4bdc2ddb688b4569",
|
||||||
|
MOUNT = "55818b224bdc2dde698b456f",
|
||||||
|
MUZZLE = "5448fe394bdc2d0d028b456c",
|
||||||
|
SIGHTS = "5448fe7a4bdc2d6f028b456b",
|
||||||
|
MEDS = "543be5664bdc2dd4348b4569",
|
||||||
|
MONEY = "543be5dd4bdc2deb348b4569",
|
||||||
|
KEY = "543be5e94bdc2df1348b4568",
|
||||||
|
KEY_MECHANICAL = "5c99f98d86f7745c314214b3",
|
||||||
|
KEYCARD = "5c164d2286f774194c5e69fa",
|
||||||
|
EQUIPMENT = "543be5f84bdc2dd4348b456a",
|
||||||
|
THROW_WEAPON = "543be6564bdc2df4348b4568",
|
||||||
|
FOOD_DRINK = "543be6674bdc2df1348b4569",
|
||||||
|
PISTOL = "5447b5cf4bdc2d65278b4567",
|
||||||
|
SMG = "5447b5e04bdc2d62278b4567",
|
||||||
|
ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567",
|
||||||
|
ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567",
|
||||||
|
SHOTGUN = "5447b6094bdc2dc3278b4567",
|
||||||
|
MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567",
|
||||||
|
SNIPER_RIFLE = "5447b6254bdc2dc3278b4568",
|
||||||
|
MACHINE_GUN = "5447bed64bdc2d97278b4568",
|
||||||
|
GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568",
|
||||||
|
SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569",
|
||||||
|
SPEC_ITEM = "5447e0e74bdc2d3c308b4567",
|
||||||
|
KNIFE = "5447e1d04bdc2dff2f8b4567",
|
||||||
|
AMMO = "5485a8684bdc2da71d8b4567",
|
||||||
|
AMMO_BOX = "543be5cb4bdc2deb348b4568",
|
||||||
|
LOOT_CONTAINER = "566965d44bdc2d814c8b4571",
|
||||||
|
MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a",
|
||||||
|
SEARCHABLE_ITEM = "566168634bdc2d144c8b456c",
|
||||||
|
STASH = "566abbb64bdc2d144c8b457d",
|
||||||
|
SORTING_TABLE = "6050cac987d3f925bf016837",
|
||||||
|
LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569",
|
||||||
|
SIMPLE_CONTAINER = "5795f317245977243854e041",
|
||||||
|
INVENTORY = "55d720f24bdc2d88028b456d",
|
||||||
|
STATIONARY_CONTAINER = "567583764bdc2d98058b456e",
|
||||||
|
POCKETS = "557596e64bdc2dc2118b4571",
|
||||||
|
ARMBAND = "5b3f15d486f77432d0509248",
|
||||||
|
DOG_TAG_USEC = "59f32c3b86f77472a31742f0",
|
||||||
|
DOG_TAG_BEAR = "59f32bb586f774757e1e8442",
|
||||||
|
JEWELRY = "57864a3d24597754843f8721",
|
||||||
|
ELECTRONICS = "57864a66245977548f04a81f",
|
||||||
|
BUILDING_MATERIAL = "57864ada245977548638de91",
|
||||||
|
TOOL = "57864bb7245977548b3b66c2",
|
||||||
|
HOUSEHOLD_GOODS = "57864c322459775490116fbf",
|
||||||
|
LUBRICANT = "57864e4c24597754843f8723",
|
||||||
|
BATTERY = "57864ee62459775490116fc1",
|
||||||
|
ASSAULT_SCOPE = "55818add4bdc2d5b648b456f",
|
||||||
|
REFLEX_SIGHT = "55818ad54bdc2ddc698b4569",
|
||||||
|
TACTICAL_COMBO = "55818b164bdc2ddc698b456c",
|
||||||
|
MAGAZINE = "5448bc234bdc2d3c308b4569",
|
||||||
|
LIGHT_LASER = "55818b0e4bdc2dde698b456e",
|
||||||
|
FLASH_HIDER = "550aa4bf4bdc2dd6348b456b",
|
||||||
|
COLLIMATOR = "55818ad54bdc2ddc698b4569",
|
||||||
|
COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b",
|
||||||
|
COMPENSATOR = "550aa4af4bdc2dd4348b456e",
|
||||||
|
OPTIC_SCOPE = "55818ae44bdc2dde698b456c",
|
||||||
|
SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a",
|
||||||
|
OTHER = "590c745b86f7743cc433c5f2",
|
||||||
|
SILENCER = "550aa4cd4bdc2dd8348b456c",
|
||||||
|
PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc",
|
||||||
|
ITEM = "54009119af1c881c07000029",
|
||||||
|
CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25"
|
||||||
|
}
|
18
TypeScript/10ScopesAndTypes/types/models/enums/ConfigTypes.d.ts
vendored
Normal file
18
TypeScript/10ScopesAndTypes/types/models/enums/ConfigTypes.d.ts
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
export declare enum ConfigTypes {
|
||||||
|
AIRDROP = "aki-airdrop",
|
||||||
|
BOT = "aki-bot",
|
||||||
|
CORE = "aki-core",
|
||||||
|
HEALTH = "aki-health",
|
||||||
|
HIDEOUT = "aki-hideout",
|
||||||
|
HTTP = "aki-http",
|
||||||
|
IN_RAID = "aki-inraid",
|
||||||
|
INSURANCE = "aki-insurance",
|
||||||
|
INVENTORY = "aki-inventory",
|
||||||
|
LOCATION = "aki-location",
|
||||||
|
MATCH = "aki-match",
|
||||||
|
QUEST = "aki-quest",
|
||||||
|
RAGFAIR = "aki-ragfair",
|
||||||
|
REPAIR = "aki-repair",
|
||||||
|
TRADER = "aki-trader",
|
||||||
|
WEATHER = "aki-weather"
|
||||||
|
}
|
11
TypeScript/10ScopesAndTypes/types/models/enums/ELocationName.d.ts
vendored
Normal file
11
TypeScript/10ScopesAndTypes/types/models/enums/ELocationName.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
export declare enum ELocationName {
|
||||||
|
FACTORY_DAY = "factory4_day",
|
||||||
|
BIGMAP = "bigmap",
|
||||||
|
WOODS = "Woods",
|
||||||
|
SHORELINE = "Shoreline",
|
||||||
|
INTERCHANGE = "Interchange",
|
||||||
|
LIGHTHOUSE = "Lighthouse",
|
||||||
|
LABORATORY = "laboratory",
|
||||||
|
RESERVE = "RezervBase",
|
||||||
|
ANY = "any"
|
||||||
|
}
|
16
TypeScript/10ScopesAndTypes/types/models/enums/EquipmentSlots.d.ts
vendored
Normal file
16
TypeScript/10ScopesAndTypes/types/models/enums/EquipmentSlots.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export declare enum EquipmentSlots {
|
||||||
|
HEADWEAR = "Headwear",
|
||||||
|
EARPIECE = "Earpiece",
|
||||||
|
FACE_COVER = "FaceCover",
|
||||||
|
ARMOR_VEST = "ArmorVest",
|
||||||
|
EYEWEAR = "Eyewear",
|
||||||
|
ARM_BAND = "ArmBand",
|
||||||
|
TACTICAL_VEST = "TacticalVest",
|
||||||
|
POCKETS = "Pockets",
|
||||||
|
BACKPACK = "Backpack",
|
||||||
|
SECURED_CONTAINER = "SecuredContainer",
|
||||||
|
FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon",
|
||||||
|
SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon",
|
||||||
|
HOLSTER = "Holster",
|
||||||
|
SCABBARD = "Scabbard"
|
||||||
|
}
|
25
TypeScript/10ScopesAndTypes/types/models/enums/HideoutAreas.d.ts
vendored
Normal file
25
TypeScript/10ScopesAndTypes/types/models/enums/HideoutAreas.d.ts
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
export declare enum HideoutAreas {
|
||||||
|
NOTSET = -1,
|
||||||
|
VENTS = 0,
|
||||||
|
SECURITY = 1,
|
||||||
|
LAVATORY = 2,
|
||||||
|
STASH = 3,
|
||||||
|
GENERATOR = 4,
|
||||||
|
HEATING = 5,
|
||||||
|
WATER_COLLECTOR = 6,
|
||||||
|
MEDSTATION = 7,
|
||||||
|
NUTRITION_UNIT = 8,
|
||||||
|
REST_SPACE = 9,
|
||||||
|
WORKBENCH = 10,
|
||||||
|
INTEL_CENTER = 11,
|
||||||
|
SHOOTING_RANGE = 12,
|
||||||
|
LIBRARY = 13,
|
||||||
|
SCAV_CASE = 14,
|
||||||
|
ILLUMINATION = 15,
|
||||||
|
PLACE_OF_FAME = 16,
|
||||||
|
AIR_FILTERING = 17,
|
||||||
|
SOLAR_POWER = 18,
|
||||||
|
BOOZE_GENERATOR = 19,
|
||||||
|
BITCOIN_FARM = 20,
|
||||||
|
CHRISTMAS_TREE = 21
|
||||||
|
}
|
13
TypeScript/10ScopesAndTypes/types/models/enums/MemberCategory.d.ts
vendored
Normal file
13
TypeScript/10ScopesAndTypes/types/models/enums/MemberCategory.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
export declare enum MemberCategory {
|
||||||
|
Default = 0,
|
||||||
|
Developer = 1,
|
||||||
|
UniqueId = 2,
|
||||||
|
Trader = 4,
|
||||||
|
Group = 8,
|
||||||
|
System = 16,
|
||||||
|
ChatModerator = 32,
|
||||||
|
ChatModeratorWithPermanentBan = 64,
|
||||||
|
UnitTest = 128,
|
||||||
|
Sherpa = 256,
|
||||||
|
Emissary = 512
|
||||||
|
}
|
16
TypeScript/10ScopesAndTypes/types/models/enums/MessageType.d.ts
vendored
Normal file
16
TypeScript/10ScopesAndTypes/types/models/enums/MessageType.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export declare enum MessageType {
|
||||||
|
USER_MESSAGE = 1,
|
||||||
|
NPC_TRADER = 2,
|
||||||
|
AUCTION_MESSAGE = 3,
|
||||||
|
FLEAMARKET_MESSAGE = 4,
|
||||||
|
ADMIN_MESSAGE = 5,
|
||||||
|
GROUP_CHAT_MESSAGE = 6,
|
||||||
|
SYSTEM_MESSAGE = 7,
|
||||||
|
INSURANCE_RETURN = 8,
|
||||||
|
GLOBAL_CHAT = 9,
|
||||||
|
QUEST_START = 10,
|
||||||
|
QUEST_FAIL = 11,
|
||||||
|
QUEST_SUCCESS = 12,
|
||||||
|
MESSAGE_WITH_ITEMS = 13,
|
||||||
|
INITIAL_SUPPORT = 14
|
||||||
|
}
|
5
TypeScript/10ScopesAndTypes/types/models/enums/Money.d.ts
vendored
Normal file
5
TypeScript/10ScopesAndTypes/types/models/enums/Money.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export declare enum Money {
|
||||||
|
ROUBLES = "5449016a4bdc2d6f028b456f",
|
||||||
|
EUROS = "569668774bdc2da2298b4568",
|
||||||
|
DOLLARS = "5696686a4bdc2da3298b456a"
|
||||||
|
}
|
10
TypeScript/10ScopesAndTypes/types/models/enums/Traders.d.ts
vendored
Normal file
10
TypeScript/10ScopesAndTypes/types/models/enums/Traders.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
export declare enum Traders {
|
||||||
|
PRAPOR = "54cb50c76803fa8b248b4571",
|
||||||
|
THERAPIST = "54cb57776803fa99248b456e",
|
||||||
|
FENCE = "579dc571d53a0658a154fbec",
|
||||||
|
SKIER = "58330581ace78e27b8b10cee",
|
||||||
|
PEACEKEEPER = "5935c25fb3acc3127c3d8cd9",
|
||||||
|
MECHANIC = "5a7c2eca46aef81a7ca2145d",
|
||||||
|
RAGMAN = "5ac3b934156ae10c4430e83c",
|
||||||
|
JAEGER = "5c0647fdd443bc2504c2d371"
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
import { ELocationName } from "../../enums/ELocationName";
|
||||||
import { IBaseConfig } from "./IBaseConfig";
|
import { IBaseConfig } from "./IBaseConfig";
|
||||||
export interface IQuestConfig extends IBaseConfig {
|
export interface IQuestConfig extends IBaseConfig {
|
||||||
kind: "aki-quest";
|
kind: "aki-quest";
|
||||||
@ -15,17 +16,6 @@ export interface IRepeatableQuestConfig {
|
|||||||
traderWhitelist: ITraderWhitelist[];
|
traderWhitelist: ITraderWhitelist[];
|
||||||
questConfig: IQuestConfig;
|
questConfig: IQuestConfig;
|
||||||
}
|
}
|
||||||
export declare enum ELocationName {
|
|
||||||
FACTORY_DAY = "factory4_day",
|
|
||||||
BIGMAP = "bigmap",
|
|
||||||
WOODS = "Woods",
|
|
||||||
SHORELINE = "Shoreline",
|
|
||||||
INTERCHANGE = "Interchange",
|
|
||||||
LIGHTHOUSE = "Lighthouse",
|
|
||||||
LABORATORY = "laboratory",
|
|
||||||
RESERVE = "RezervBase",
|
|
||||||
ANY = "any"
|
|
||||||
}
|
|
||||||
export interface IRewardScaling {
|
export interface IRewardScaling {
|
||||||
levels: number[];
|
levels: number[];
|
||||||
experience: number[];
|
experience: number[];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
declare namespace ModLoader {
|
export declare namespace ModLoader {
|
||||||
interface IMod {
|
interface IMod {
|
||||||
name: string;
|
name: string;
|
||||||
version: string;
|
version: string;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
import http, { ServerResponse } from "http";
|
import http, { ServerResponse } from "http";
|
||||||
import { INotification } from "../../eft/notifier/INotifier";
|
import { INotification } from "../../eft/notifier/INotifier";
|
||||||
export interface IHttpServer {
|
export interface IHttpServer {
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
import { IncomingMessage, ServerResponse } from "http";
|
import { IncomingMessage, ServerResponse } from "http";
|
||||||
import { VFS } from "../utils/VFS";
|
|
||||||
import { IHttpServer } from "../models/spt/server/IHttpServer";
|
import { IHttpServer } from "../models/spt/server/IHttpServer";
|
||||||
|
import { ImageRouteService } from "../services/mod/image/imageRouteService";
|
||||||
|
import { VFS } from "../utils/VFS";
|
||||||
export declare class ImageRouter {
|
export declare class ImageRouter {
|
||||||
private vfs;
|
private vfs;
|
||||||
constructor(vfs: VFS);
|
private imageRouteService;
|
||||||
private onRoute;
|
constructor(vfs: VFS, imageRouteService: ImageRouteService);
|
||||||
addRoute(key: string, valueToAdd: string): void;
|
addRoute(key: string, valueToAdd: string): void;
|
||||||
sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void;
|
sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void;
|
||||||
getImage(): string;
|
getImage(): string;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { VFS } from "../utils/VFS";
|
import { VFS } from "../utils/VFS";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigTypes } from "../models/enums/ConfigTypes";
|
||||||
export declare class ConfigServer {
|
export declare class ConfigServer {
|
||||||
private logger;
|
private logger;
|
||||||
private vfs;
|
private vfs;
|
||||||
@ -8,23 +9,6 @@ export declare class ConfigServer {
|
|||||||
private configs;
|
private configs;
|
||||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil);
|
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil);
|
||||||
getConfig<T>(configType: ConfigTypes): T;
|
getConfig<T>(configType: ConfigTypes): T;
|
||||||
|
getConfigByString<T>(configType: string): T;
|
||||||
initialize(): void;
|
initialize(): void;
|
||||||
}
|
}
|
||||||
export declare const enum ConfigTypes {
|
|
||||||
AIRDROP = "aki-airdrop",
|
|
||||||
BOT = "aki-bot",
|
|
||||||
CORE = "aki-core",
|
|
||||||
HEALTH = "aki-health",
|
|
||||||
HIDEOUT = "aki-hideout",
|
|
||||||
HTTP = "aki-http",
|
|
||||||
IN_RAID = "aki-inraid",
|
|
||||||
INSURANCE = "aki-insurance",
|
|
||||||
INVENTORY = "aki-inventory",
|
|
||||||
LOCATION = "aki-location",
|
|
||||||
MATCH = "aki-match",
|
|
||||||
QUEST = "aki-quest",
|
|
||||||
RAGFAIR = "aki-ragfair",
|
|
||||||
REPAIR = "aki-repair",
|
|
||||||
TRADER = "aki-trader",
|
|
||||||
WEATHER = "aki-weather"
|
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
import http, { ServerResponse } from "http";
|
import http, { ServerResponse } from "http";
|
||||||
import { Serializer } from "../di/Serializer";
|
import { Serializer } from "../di/Serializer";
|
||||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
|
||||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
|
||||||
import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator";
|
import { RagfairOfferGenerator } from "../generators/RagfairOfferGenerator";
|
||||||
import { SaveServer } from "./SaveServer";
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { RagfairPriceService } from "../services/RagfairPriceService";
|
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||||
import { RagfairOfferService } from "../services/RagfairOfferService";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
|
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
import { RagfairCategoriesService } from "../services/RagfairCategoriesService";
|
import { RagfairCategoriesService } from "../services/RagfairCategoriesService";
|
||||||
import { RagfairLinkedItemService } from "../services/RagfairLinkedItemService";
|
import { RagfairLinkedItemService } from "../services/RagfairLinkedItemService";
|
||||||
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
import { RagfairOfferService } from "../services/RagfairOfferService";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { RagfairPriceService } from "../services/RagfairPriceService";
|
||||||
import { ConfigServer } from "./ConfigServer";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService";
|
import { RagfairRequiredItemsService } from "../services/RagfairRequiredItemsService";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||||
|
import { ConfigServer } from "./ConfigServer";
|
||||||
|
import { SaveServer } from "./SaveServer";
|
||||||
export declare class RagfairServer {
|
export declare class RagfairServer {
|
||||||
private logger;
|
private logger;
|
||||||
private ragfairOfferGenerator;
|
private ragfairOfferGenerator;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
import { FenceLevel } from "../models/eft/common/IGlobals";
|
import { FenceLevel } from "../models/eft/common/IGlobals";
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { ITraderAssort } from "../models/eft/common/tables/ITrader";
|
import { ITraderAssort } from "../models/eft/common/tables/ITrader";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class FenceService {
|
export declare class FenceService {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
export declare class RagfairPriceService {
|
export declare class RagfairPriceService {
|
||||||
private handbookHelper;
|
private handbookHelper;
|
||||||
private databaseServer;
|
private databaseServer;
|
||||||
|
6
TypeScript/10ScopesAndTypes/types/services/mod/image/imageRouteService.d.ts
vendored
Normal file
6
TypeScript/10ScopesAndTypes/types/services/mod/image/imageRouteService.d.ts
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
export declare class ImageRouteService {
|
||||||
|
private routes;
|
||||||
|
addRoute(urlKey: string, route: string): void;
|
||||||
|
getByKey(urlKey: string): string;
|
||||||
|
existsByKey(urlKey: string): boolean;
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
import "reflect-metadata";
|
import "reflect-metadata";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue";
|
import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
export declare class WatermarkLocale {
|
export declare class WatermarkLocale {
|
||||||
private locales;
|
private locales;
|
||||||
getLocale(): string;
|
getLocale(): string;
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { BotGenerator } from "../generators/BotGenerator";
|
||||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
import { BotHelper } from "../helpers/BotHelper";
|
||||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||||
import { IBotCore } from "../models/eft/common/tables/IBotCore";
|
import { IBotCore } from "../models/eft/common/tables/IBotCore";
|
||||||
|
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { BotHelper } from "../helpers/BotHelper";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { BotGenerator } from "../generators/BotGenerator";
|
|
||||||
export declare class BotController {
|
export declare class BotController {
|
||||||
private databaseServer;
|
private databaseServer;
|
||||||
private botGenerator;
|
private botGenerator;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||||
import { DialogueInfo } from "../models/eft/profile/IAkiProfile";
|
import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse";
|
||||||
import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData";
|
|
||||||
import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse";
|
import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse";
|
||||||
import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData";
|
import { IGetMailDialogViewResponseData } from "../models/eft/dialog/IGetMailDialogViewResponseData";
|
||||||
import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse";
|
import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData";
|
||||||
|
import { DialogueInfo } from "../models/eft/profile/IAkiProfile";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||||
export declare class DialogueController {
|
export declare class DialogueController {
|
||||||
private httpResponse;
|
private httpResponse;
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { HideoutHelper } from "../helpers/HideoutHelper";
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
import { InventoryHelper } from "../helpers/InventoryHelper";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { PaymentHelper } from "../helpers/PaymentHelper";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { PlayerService } from "../services/PlayerService";
|
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { PaymentHelper } from "../helpers/PaymentHelper";
|
|
||||||
import { InventoryHelper } from "../helpers/InventoryHelper";
|
|
||||||
import { HideoutHelper } from "../helpers/HideoutHelper";
|
|
||||||
import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData";
|
import { HideoutUpgradeCompleteRequestData } from "../models/eft/hideout/HideoutUpgradeCompleteRequestData";
|
||||||
import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData";
|
|
||||||
import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData";
|
|
||||||
import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData";
|
|
||||||
import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData";
|
|
||||||
import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData";
|
|
||||||
import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData";
|
|
||||||
import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData";
|
import { IHideoutContinousProductionStartRequestData } from "../models/eft/hideout/IHideoutContinousProductionStartRequestData";
|
||||||
|
import { IHideoutPutItemInRequestData } from "../models/eft/hideout/IHideoutPutItemInRequestData";
|
||||||
|
import { IHideoutScavCaseStartRequestData } from "../models/eft/hideout/IHideoutScavCaseStartRequestData";
|
||||||
|
import { IHideoutSingleProductionStartRequestData } from "../models/eft/hideout/IHideoutSingleProductionStartRequestData";
|
||||||
|
import { IHideoutTakeItemOutRequestData } from "../models/eft/hideout/IHideoutTakeItemOutRequestData";
|
||||||
|
import { IHideoutTakeProductionRequestData } from "../models/eft/hideout/IHideoutTakeProductionRequestData";
|
||||||
|
import { IHideoutToggleAreaRequestData } from "../models/eft/hideout/IHideoutToggleAreaRequestData";
|
||||||
|
import { IHideoutUpgradeRequestData } from "../models/eft/hideout/IHideoutUpgradeRequestData";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { PlayerService } from "../services/PlayerService";
|
||||||
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
|
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
export declare class HideoutController {
|
export declare class HideoutController {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { TraderHelper } from "../helpers/TraderHelper";
|
|
||||||
import { HealthHelper } from "../helpers/HealthHelper";
|
import { HealthHelper } from "../helpers/HealthHelper";
|
||||||
|
import { InRaidHelper } from "../helpers/InRaidHelper";
|
||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
|
import { QuestHelper } from "../helpers/QuestHelper";
|
||||||
|
import { TraderHelper } from "../helpers/TraderHelper";
|
||||||
import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData";
|
import { IRegisterPlayerRequestData } from "../models/eft/inRaid/IRegisterPlayerRequestData";
|
||||||
import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData";
|
import { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { QuestHelper } from "../helpers/QuestHelper";
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { InRaidHelper } from "../helpers/InRaidHelper";
|
|
||||||
import { InsuranceService } from "../services/InsuranceService";
|
import { InsuranceService } from "../services/InsuranceService";
|
||||||
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
export declare class InraidController {
|
export declare class InraidController {
|
||||||
private saveServer;
|
private saveServer;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { PaymentService } from "../services/PaymentService";
|
|
||||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData";
|
import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData";
|
||||||
import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData";
|
import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { InsuranceService } from "../services/InsuranceService";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { InsuranceService } from "../services/InsuranceService";
|
||||||
|
import { PaymentService } from "../services/PaymentService";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
export declare class InsuranceController {
|
export declare class InsuranceController {
|
||||||
private logger;
|
private logger;
|
||||||
private randomUtil;
|
private randomUtil;
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
||||||
|
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
||||||
|
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
||||||
|
import { Info } from "../models/eft/profile/IAkiProfile";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
|
||||||
import { Info } from "../models/eft/profile/IAkiProfile";
|
|
||||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
|
||||||
export declare class LauncherController {
|
export declare class LauncherController {
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
private saveServer;
|
private saveServer;
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
import { TimeUtil } from "../utils/TimeUtil";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { QuestHelper } from "../helpers/QuestHelper";
|
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||||
import { QuestConditionHelper } from "../helpers/QuestConditionHelper";
|
import { QuestConditionHelper } from "../helpers/QuestConditionHelper";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { QuestHelper } from "../helpers/QuestHelper";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { PlayerService } from "../services/PlayerService";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { IQuest } from "../models/eft/common/tables/IQuest";
|
import { IQuest } from "../models/eft/common/tables/IQuest";
|
||||||
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData";
|
import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData";
|
||||||
import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData";
|
import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData";
|
||||||
import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData";
|
import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { PlayerService } from "../services/PlayerService";
|
||||||
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
export declare class QuestController {
|
export declare class QuestController {
|
||||||
private logger;
|
private logger;
|
||||||
private timeUtil;
|
private timeUtil;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { QuestHelper } from "../helpers/QuestHelper";
|
import { QuestHelper } from "../helpers/QuestHelper";
|
||||||
import { TraderHelper } from "../helpers/TraderHelper";
|
|
||||||
import { PaymentService } from "../services/PaymentService";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
|
||||||
import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest";
|
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
|
||||||
import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
|
||||||
import { RepairHelper } from "../helpers/RepairHelper";
|
import { RepairHelper } from "../helpers/RepairHelper";
|
||||||
|
import { TraderHelper } from "../helpers/TraderHelper";
|
||||||
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
|
import { IRepairActionDataRequest } from "../models/eft/repair/IRepairActionDataRequest";
|
||||||
|
import { ITraderRepairActionDataRequest } from "../models/eft/repair/ITraderRepairActionDataRequest";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { PaymentService } from "../services/PaymentService";
|
||||||
export declare class RepairController {
|
export declare class RepairController {
|
||||||
private logger;
|
private logger;
|
||||||
private itemEventRouter;
|
private itemEventRouter;
|
||||||
|
@ -8,7 +8,8 @@ import { IPmcData, TraderInfo } from "../models/eft/common/IPmcData";
|
|||||||
import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests";
|
import { ICompletion, ICompletionAvailableFor, IElimination, IEliminationCondition, IExploration, IExplorationCondition, IPmcDataRepeatableQuest, IRepeatableQuest, IReward, IRewards } from "../models/eft/common/tables/IRepeatableQuests";
|
||||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||||
import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest";
|
import { IRepeatableQuestChangeRequest } from "../models/eft/quests/IRepeatableQuestChangeRequest";
|
||||||
import { ELocationName, IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig";
|
import { ELocationName } from "../models/enums/ELocationName";
|
||||||
|
import { IRepeatableQuestConfig } from "../models/spt/config/IQuestConfig";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { WeatherGenerator } from "../generators/WeatherGenerator";
|
import { WeatherGenerator } from "../generators/WeatherGenerator";
|
||||||
import { IWeatherData } from "../models/eft/weather/IWeatherData";
|
import { IWeatherData } from "../models/eft/weather/IWeatherData";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
export declare class WeatherController {
|
export declare class WeatherController {
|
||||||
private weatherGenerator;
|
private weatherGenerator;
|
||||||
private configServer;
|
private configServer;
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
import { HashUtil } from "../utils/HashUtil";
|
import { BotHelper } from "../helpers/BotHelper";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { BotInventoryGenerator } from "./BotInventoryGenerator";
|
import { BotInventoryGenerator } from "./BotInventoryGenerator";
|
||||||
import { BotHelper } from "../helpers/BotHelper";
|
|
||||||
export declare class BotGenerator {
|
export declare class BotGenerator {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
|
||||||
import { PMCLootGenerator } from "../generators/PMCLootGenerator";
|
import { PMCLootGenerator } from "../generators/PMCLootGenerator";
|
||||||
|
import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
||||||
|
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||||
import { Inventory as PmcInventory } from "../models/eft/common/IPmcData";
|
import { Inventory as PmcInventory } from "../models/eft/common/IPmcData";
|
||||||
import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType";
|
import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
|
||||||
export declare class BotLootGenerator {
|
export declare class BotLootGenerator {
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { ContainerHelper } from "../helpers/ContainerHelper";
|
||||||
import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../models/eft/common/tables/ILootBase";
|
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
|
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||||
import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot";
|
import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase";
|
||||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ContainerHelper } from "../helpers/ContainerHelper";
|
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { MathUtil } from "../utils/MathUtil";
|
import { MathUtil } from "../utils/MathUtil";
|
||||||
import { ObjectId } from "../utils/ObjectId";
|
import { ObjectId } from "../utils/ObjectId";
|
||||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export interface IContainerItem {
|
export interface IContainerItem {
|
||||||
items: Item[];
|
items: Item[];
|
||||||
width: number;
|
width: number;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
export declare class RagfairAssortGenerator {
|
export declare class RagfairAssortGenerator {
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { ItemHelper } from "../helpers/ItemHelper";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { PresetHelper } from "../helpers/PresetHelper";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||||
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
||||||
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { FenceService } from "../services/FenceService";
|
||||||
|
import { RagfairOfferService } from "../services/RagfairOfferService";
|
||||||
|
import { RagfairPriceService } from "../services/RagfairPriceService";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
import { PresetHelper } from "../helpers/PresetHelper";
|
|
||||||
import { RagfairAssortGenerator } from "./RagfairAssortGenerator";
|
import { RagfairAssortGenerator } from "./RagfairAssortGenerator";
|
||||||
import { ItemHelper } from "../helpers/ItemHelper";
|
|
||||||
import { RagfairOfferService } from "../services/RagfairOfferService";
|
|
||||||
import { RagfairPriceService } from "../services/RagfairPriceService";
|
|
||||||
import { FenceService } from "../services/FenceService";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class RagfairOfferGenerator {
|
export declare class RagfairOfferGenerator {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -12,7 +12,7 @@ import { RandomUtil } from "../utils/RandomUtil";
|
|||||||
import { ContainerHelper } from "./ContainerHelper";
|
import { ContainerHelper } from "./ContainerHelper";
|
||||||
import { InventoryHelper } from "./InventoryHelper";
|
import { InventoryHelper } from "./InventoryHelper";
|
||||||
import { ItemHelper } from "./ItemHelper";
|
import { ItemHelper } from "./ItemHelper";
|
||||||
declare class BotGeneratorHelper {
|
export declare class BotGeneratorHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
@ -58,22 +58,3 @@ export declare class ExhaustableArray<T> {
|
|||||||
getFirstValue(): T;
|
getFirstValue(): T;
|
||||||
hasValues(): boolean;
|
hasValues(): boolean;
|
||||||
}
|
}
|
||||||
declare namespace BotGeneratorHelper {
|
|
||||||
enum EquipmentSlots {
|
|
||||||
HEADWEAR = "Headwear",
|
|
||||||
EARPIECE = "Earpiece",
|
|
||||||
FACE_COVER = "FaceCover",
|
|
||||||
ARMOR_VEST = "ArmorVest",
|
|
||||||
EYEWEAR = "Eyewear",
|
|
||||||
ARM_BAND = "ArmBand",
|
|
||||||
TACTICAL_VEST = "TacticalVest",
|
|
||||||
POCKETS = "Pockets",
|
|
||||||
BACKPACK = "Backpack",
|
|
||||||
SECURED_CONTAINER = "SecuredContainer",
|
|
||||||
FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon",
|
|
||||||
SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon",
|
|
||||||
HOLSTER = "Holster",
|
|
||||||
SCABBARD = "Scabbard"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export { BotGeneratorHelper };
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class BotHelper {
|
export declare class BotHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
|
import { Dialogue, MessageContent, MessagePreview } from "../models/eft/profile/IAkiProfile";
|
||||||
|
import { MessageType } from "../models/enums/MessageType";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { SaveServer } from "../servers/SaveServer";
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { ItemHelper } from "./ItemHelper";
|
|
||||||
import { Dialogue, MessageContent, MessagePreview, MessageType } from "../models/eft/profile/IAkiProfile";
|
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { NotifierHelper } from "./NotifierHelper";
|
import { ItemHelper } from "./ItemHelper";
|
||||||
import { NotificationSendHelper } from "./NotificationSendHelper";
|
import { NotificationSendHelper } from "./NotificationSendHelper";
|
||||||
|
import { NotifierHelper } from "./NotifierHelper";
|
||||||
export declare class DialogueHelper {
|
export declare class DialogueHelper {
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
private saveServer;
|
private saveServer;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { BotHelper } from "./BotHelper";
|
import { BotHelper } from "./BotHelper";
|
||||||
export declare class DurabilityLimitsHelper {
|
export declare class DurabilityLimitsHelper {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { IAkiProfile } from "../models/eft/profile/IAkiProfile";
|
|
||||||
import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData";
|
import { ISyncHealthRequestData } from "../models/eft/health/ISyncHealthRequestData";
|
||||||
|
import { IAkiProfile } from "../models/eft/profile/IAkiProfile";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { TimeUtil } from "../utils/TimeUtil";
|
import { TimeUtil } from "../utils/TimeUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class HealthHelper {
|
export declare class HealthHelper {
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private logger;
|
private logger;
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData";
|
import { InsuredItem, IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { ITemplateItem, StackSlot } from "../models/eft/common/tables/ITemplateItem";
|
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
|
import { ITemplateItem, StackSlot } from "../models/eft/common/tables/ITemplateItem";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { HashUtil } from "../utils/HashUtil";
|
import { HashUtil } from "../utils/HashUtil";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
declare class ItemHelper {
|
declare class ItemHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private hashUtil;
|
private hashUtil;
|
||||||
@ -139,98 +139,9 @@ declare class ItemHelper {
|
|||||||
getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize;
|
getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize;
|
||||||
}
|
}
|
||||||
declare namespace ItemHelper {
|
declare namespace ItemHelper {
|
||||||
enum BaseClasses {
|
|
||||||
WEAPON = "5422acb9af1c889c16000029",
|
|
||||||
ARMOR = "5448e54d4bdc2dcc718b4568",
|
|
||||||
VEST = "5448e5284bdc2dcb718b4567",
|
|
||||||
BACKPACK = "5448e53e4bdc2d60728b4567",
|
|
||||||
VISORS = "5448e5724bdc2ddf718b4568",
|
|
||||||
FOOD = "5448e8d04bdc2ddf718b4569",
|
|
||||||
DRINK = "5448e8d64bdc2dce718b4568",
|
|
||||||
BARTER_ITEM = "5448eb774bdc2d0a728b4567",
|
|
||||||
INFO = "5448ecbe4bdc2d60728b4568",
|
|
||||||
MEDKIT = "5448f39d4bdc2d0a728b4568",
|
|
||||||
DRUGS = "5448f3a14bdc2d27728b4569",
|
|
||||||
STIMULATOR = "5448f3a64bdc2d60728b456a",
|
|
||||||
MEDICAL = "5448f3ac4bdc2dce718b4569",
|
|
||||||
MEDICAL_SUPPLIES = "57864c8c245977548867e7f1",
|
|
||||||
MOD = "5448fe124bdc2da5018b4567",
|
|
||||||
FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b",
|
|
||||||
FUEL = "5d650c3e815116009f6201d2",
|
|
||||||
GEAR_MOD = "55802f3e4bdc2de7118b4584",
|
|
||||||
STOCK = "55818a594bdc2db9688b456a",
|
|
||||||
FOREGRIP = "55818af64bdc2d5b648b4570",
|
|
||||||
MASTER_MOD = "55802f4a4bdc2ddb688b4569",
|
|
||||||
MOUNT = "55818b224bdc2dde698b456f",
|
|
||||||
MUZZLE = "5448fe394bdc2d0d028b456c",
|
|
||||||
SIGHTS = "5448fe7a4bdc2d6f028b456b",
|
|
||||||
MEDS = "543be5664bdc2dd4348b4569",
|
|
||||||
MONEY = "543be5dd4bdc2deb348b4569",
|
|
||||||
KEY = "543be5e94bdc2df1348b4568",
|
|
||||||
KEY_MECHANICAL = "5c99f98d86f7745c314214b3",
|
|
||||||
KEYCARD = "5c164d2286f774194c5e69fa",
|
|
||||||
EQUIPMENT = "543be5f84bdc2dd4348b456a",
|
|
||||||
THROW_WEAPON = "543be6564bdc2df4348b4568",
|
|
||||||
FOOD_DRINK = "543be6674bdc2df1348b4569",
|
|
||||||
PISTOL = "5447b5cf4bdc2d65278b4567",
|
|
||||||
SMG = "5447b5e04bdc2d62278b4567",
|
|
||||||
ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567",
|
|
||||||
ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567",
|
|
||||||
SHOTGUN = "5447b6094bdc2dc3278b4567",
|
|
||||||
MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567",
|
|
||||||
SNIPER_RIFLE = "5447b6254bdc2dc3278b4568",
|
|
||||||
MACHINE_GUN = "5447bed64bdc2d97278b4568",
|
|
||||||
GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568",
|
|
||||||
SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569",
|
|
||||||
SPEC_ITEM = "5447e0e74bdc2d3c308b4567",
|
|
||||||
KNIFE = "5447e1d04bdc2dff2f8b4567",
|
|
||||||
AMMO = "5485a8684bdc2da71d8b4567",
|
|
||||||
AMMO_BOX = "543be5cb4bdc2deb348b4568",
|
|
||||||
LOOT_CONTAINER = "566965d44bdc2d814c8b4571",
|
|
||||||
MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a",
|
|
||||||
SEARCHABLE_ITEM = "566168634bdc2d144c8b456c",
|
|
||||||
STASH = "566abbb64bdc2d144c8b457d",
|
|
||||||
SORTING_TABLE = "6050cac987d3f925bf016837",
|
|
||||||
LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569",
|
|
||||||
SIMPLE_CONTAINER = "5795f317245977243854e041",
|
|
||||||
INVENTORY = "55d720f24bdc2d88028b456d",
|
|
||||||
STATIONARY_CONTAINER = "567583764bdc2d98058b456e",
|
|
||||||
POCKETS = "557596e64bdc2dc2118b4571",
|
|
||||||
ARMBAND = "5b3f15d486f77432d0509248",
|
|
||||||
DOG_TAG_USEC = "59f32c3b86f77472a31742f0",
|
|
||||||
DOG_TAG_BEAR = "59f32bb586f774757e1e8442",
|
|
||||||
JEWELRY = "57864a3d24597754843f8721",
|
|
||||||
ELECTRONICS = "57864a66245977548f04a81f",
|
|
||||||
BUILDING_MATERIAL = "57864ada245977548638de91",
|
|
||||||
TOOL = "57864bb7245977548b3b66c2",
|
|
||||||
HOUSEHOLD_GOODS = "57864c322459775490116fbf",
|
|
||||||
LUBRICANT = "57864e4c24597754843f8723",
|
|
||||||
BATTERY = "57864ee62459775490116fc1",
|
|
||||||
ASSAULT_SCOPE = "55818add4bdc2d5b648b456f",
|
|
||||||
REFLEX_SIGHT = "55818ad54bdc2ddc698b4569",
|
|
||||||
TACTICAL_COMBO = "55818b164bdc2ddc698b456c",
|
|
||||||
MAGAZINE = "5448bc234bdc2d3c308b4569",
|
|
||||||
LIGHT_LASER = "55818b0e4bdc2dde698b456e",
|
|
||||||
FLASH_HIDER = "550aa4bf4bdc2dd6348b456b",
|
|
||||||
COLLIMATOR = "55818ad54bdc2ddc698b4569",
|
|
||||||
COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b",
|
|
||||||
COMPENSATOR = "550aa4af4bdc2dd4348b456e",
|
|
||||||
OPTIC_SCOPE = "55818ae44bdc2dde698b456c",
|
|
||||||
SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a",
|
|
||||||
OTHER = "590c745b86f7743cc433c5f2",
|
|
||||||
SILENCER = "550aa4cd4bdc2dd8348b456c",
|
|
||||||
PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc",
|
|
||||||
ITEM = "54009119af1c881c07000029",
|
|
||||||
CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25"
|
|
||||||
}
|
|
||||||
interface ItemSize {
|
interface ItemSize {
|
||||||
width: number;
|
width: number;
|
||||||
height: number;
|
height: number;
|
||||||
}
|
}
|
||||||
enum Money {
|
|
||||||
ROUBLES = "5449016a4bdc2d6f028b456f",
|
|
||||||
EUROS = "569668774bdc2da2298b4568",
|
|
||||||
DOLLARS = "5696686a4bdc2da3298b456a"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
export { ItemHelper };
|
export { ItemHelper };
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MemberCategory } from "../models/eft/common/MemberCategory";
|
import { MemberCategory } from "../models/enums/MemberCategory";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
import { Item } from "../models/eft/common/tables/IItem";
|
import { Item } from "../models/eft/common/tables/IItem";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { RandomUtil } from "../utils/RandomUtil";
|
import { RandomUtil } from "../utils/RandomUtil";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class RepairHelper {
|
export declare class RepairHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
import { SaveServer } from "../servers/SaveServer";
|
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||||
|
import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader";
|
||||||
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||||
|
import { SaveServer } from "../servers/SaveServer";
|
||||||
|
import { FenceService } from "../services/FenceService";
|
||||||
import { PlayerService } from "../services/PlayerService";
|
import { PlayerService } from "../services/PlayerService";
|
||||||
import { HandbookHelper } from "./HandbookHelper";
|
import { HandbookHelper } from "./HandbookHelper";
|
||||||
import { ItemHelper } from "./ItemHelper";
|
import { ItemHelper } from "./ItemHelper";
|
||||||
import { ProfileHelper } from "./ProfileHelper";
|
|
||||||
import { PaymentHelper } from "./PaymentHelper";
|
import { PaymentHelper } from "./PaymentHelper";
|
||||||
import { FenceService } from "../services/FenceService";
|
import { ProfileHelper } from "./ProfileHelper";
|
||||||
import { IBarterScheme, ITraderAssort, ITraderBase, LoyaltyLevel } from "../models/eft/common/tables/ITrader";
|
|
||||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
|
||||||
export declare class TraderHelper {
|
export declare class TraderHelper {
|
||||||
private logger;
|
private logger;
|
||||||
private databaseServer;
|
private databaseServer;
|
||||||
|
@ -1,25 +1,29 @@
|
|||||||
import { DependencyContainer } from "tsyringe";
|
import { DependencyContainer } from "tsyringe";
|
||||||
|
import { ModLoader } from "../models/spt/mod/IMod";
|
||||||
import { IModLoader } from "../models/spt/mod/IModLoader";
|
import { IModLoader } from "../models/spt/mod/IModLoader";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
import { ConfigServer } from "../servers/ConfigServer";
|
import { ConfigServer } from "../servers/ConfigServer";
|
||||||
import { ModCompilerService } from "../services/ModCompilerService";
|
import { ModCompilerService } from "../services/ModCompilerService";
|
||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { VFS } from "../utils/VFS";
|
import { VFS } from "../utils/VFS";
|
||||||
|
import { BundleLoader } from "./BundleLoader";
|
||||||
export declare class InitialModLoader implements IModLoader {
|
export declare class InitialModLoader implements IModLoader {
|
||||||
private logger;
|
private logger;
|
||||||
private vfs;
|
private vfs;
|
||||||
private jsonUtil;
|
private jsonUtil;
|
||||||
private modCompilerService;
|
private modCompilerService;
|
||||||
|
private bundleLoader;
|
||||||
private configServer;
|
private configServer;
|
||||||
private static container;
|
private static container;
|
||||||
private readonly basepath;
|
private readonly basepath;
|
||||||
private imported;
|
private imported;
|
||||||
private onLoad;
|
private onLoad;
|
||||||
private akiConfig;
|
private akiConfig;
|
||||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, configServer: ConfigServer);
|
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer);
|
||||||
load(container: DependencyContainer): Promise<void>;
|
load(container: DependencyContainer): Promise<void>;
|
||||||
getBundles(local: boolean): string;
|
getBundles(local: boolean): string;
|
||||||
getBundle(key: string, local: boolean): void;
|
getBundle(key: string, local: boolean): void;
|
||||||
|
getMods(): Record<string, ModLoader.IMod>;
|
||||||
getImportedModsNames(): string[];
|
getImportedModsNames(): string[];
|
||||||
getModPath(mod: string): string;
|
getModPath(mod: string): string;
|
||||||
private importClass;
|
private importClass;
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import { IRagfairOffer } from "../ragfair/IRagfairOffer";
|
import { IRagfairOffer } from "../ragfair/IRagfairOffer";
|
||||||
import { IPmcDataRepeatableQuest } from "./tables/IRepeatableQuests";
|
import { IPmcDataRepeatableQuest } from "./tables/IRepeatableQuests";
|
||||||
import { Item, Upd } from "./tables/IItem";
|
import { Item, Upd } from "./tables/IItem";
|
||||||
import { HideoutAreasEnum } from "../hideout/HideoutAreasEnum";
|
import { HideoutAreas } from "../../enums/HideoutAreas";
|
||||||
import { MemberCategory } from "./MemberCategory";
|
import { MemberCategory } from "../../enums/MemberCategory";
|
||||||
export interface IPmcData {
|
export interface IPmcData {
|
||||||
_id: string;
|
_id: string;
|
||||||
aid: string;
|
aid: string;
|
||||||
@ -289,7 +289,7 @@ export interface Production extends Productive {
|
|||||||
ProductionTime: number;
|
ProductionTime: number;
|
||||||
}
|
}
|
||||||
export interface HideoutArea {
|
export interface HideoutArea {
|
||||||
type: HideoutAreasEnum;
|
type: HideoutAreas;
|
||||||
level: number;
|
level: number;
|
||||||
active: boolean;
|
active: boolean;
|
||||||
passiveBonusesEnabled: boolean;
|
passiveBonusesEnabled: boolean;
|
||||||
|
@ -46,6 +46,40 @@ export interface AvailableForProps {
|
|||||||
visibilityConditions?: VisibilityCondition[];
|
visibilityConditions?: VisibilityCondition[];
|
||||||
target?: string | string[];
|
target?: string | string[];
|
||||||
status?: number[];
|
status?: number[];
|
||||||
|
onlyFoundInRaid?: boolean;
|
||||||
|
oneSessionOnly?: boolean;
|
||||||
|
doNotResetIfCounterCompleted?: boolean;
|
||||||
|
dogtagLevel?: number;
|
||||||
|
maxDurability?: number;
|
||||||
|
minDurability?: number;
|
||||||
|
counter?: AvailableForCounter;
|
||||||
|
plantTime?: number;
|
||||||
|
zoneId?: string;
|
||||||
|
type?: boolean;
|
||||||
|
}
|
||||||
|
export interface AvailableForCounter {
|
||||||
|
id: string;
|
||||||
|
conditions: CounterCondition[];
|
||||||
|
}
|
||||||
|
export interface CounterCondition {
|
||||||
|
_parent: string;
|
||||||
|
_props: CounterProps;
|
||||||
|
}
|
||||||
|
export interface CounterProps {
|
||||||
|
id: string;
|
||||||
|
target: string[] | string;
|
||||||
|
compareMethod?: string;
|
||||||
|
value?: string;
|
||||||
|
weapon?: string[];
|
||||||
|
equipmentInclusive?: string[][];
|
||||||
|
weaponModsInclusive?: string[][];
|
||||||
|
status?: string[];
|
||||||
|
bodyPart?: string[];
|
||||||
|
daytime?: DaytimeCounter;
|
||||||
|
}
|
||||||
|
export interface DaytimeCounter {
|
||||||
|
from: number;
|
||||||
|
to: number;
|
||||||
}
|
}
|
||||||
export interface VisibilityCondition {
|
export interface VisibilityCondition {
|
||||||
id: string;
|
id: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MemberCategory } from "../common/MemberCategory";
|
import { MemberCategory } from "../../enums/MemberCategory";
|
||||||
export interface IGetFriendListDataResponse {
|
export interface IGetFriendListDataResponse {
|
||||||
Friends: Friend[];
|
Friends: Friend[];
|
||||||
Ignore: any[];
|
Ignore: any[];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MessageType } from "../profile/IAkiProfile";
|
import { MessageType } from "../../enums/MessageType";
|
||||||
export interface IGetMailDialogViewRequestData {
|
export interface IGetMailDialogViewRequestData {
|
||||||
type: MessageType;
|
type: MessageType;
|
||||||
dialogId: string;
|
dialogId: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MessageType } from "../profile/IAkiProfile";
|
import { MessageType } from "../../enums/MessageType";
|
||||||
export interface ISendMessageRequest {
|
export interface ISendMessageRequest {
|
||||||
dialogId: string;
|
dialogId: string;
|
||||||
type: MessageType;
|
type: MessageType;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
import { MessageType } from "../../enums/MessageType";
|
||||||
import { IPmcData } from "../common/IPmcData";
|
import { IPmcData } from "../common/IPmcData";
|
||||||
import { Item } from "../common/tables/IItem";
|
import { Item } from "../common/tables/IItem";
|
||||||
export interface IAkiProfile {
|
export interface IAkiProfile {
|
||||||
@ -43,22 +44,6 @@ export interface DialogueInfo {
|
|||||||
new: number;
|
new: number;
|
||||||
attachmentsNew: number;
|
attachmentsNew: number;
|
||||||
}
|
}
|
||||||
export declare enum MessageType {
|
|
||||||
USER_MESSAGE = 1,
|
|
||||||
NPC_TRADER = 2,
|
|
||||||
AUCTION_MESSAGE = 3,
|
|
||||||
FLEAMARKET_MESSAGE = 4,
|
|
||||||
ADMIN_MESSAGE = 5,
|
|
||||||
GROUP_CHAT_MESSAGE = 6,
|
|
||||||
SYSTEM_MESSAGE = 7,
|
|
||||||
INSURANCE_RETURN = 8,
|
|
||||||
GLOBAL_CHAT = 9,
|
|
||||||
QUEST_START = 10,
|
|
||||||
QUEST_FAIL = 11,
|
|
||||||
QUEST_SUCCESS = 12,
|
|
||||||
MESSAGE_WITH_ITEMS = 13,
|
|
||||||
INITIAL_SUPPORT = 14
|
|
||||||
}
|
|
||||||
export interface Message {
|
export interface Message {
|
||||||
_id: string;
|
_id: string;
|
||||||
uid: string;
|
uid: string;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { MemberCategory } from "../common/MemberCategory";
|
import { MemberCategory } from "../../enums/MemberCategory";
|
||||||
import { Item } from "../common/tables/IItem";
|
import { Item } from "../common/tables/IItem";
|
||||||
export interface IRagfairOffer {
|
export interface IRagfairOffer {
|
||||||
sellResult?: SellResult[];
|
sellResult?: SellResult[];
|
||||||
|
84
TypeScript/11BundleLoadingSample/types/models/enums/BaseClasses.d.ts
vendored
Normal file
84
TypeScript/11BundleLoadingSample/types/models/enums/BaseClasses.d.ts
vendored
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
export declare enum BaseClasses {
|
||||||
|
WEAPON = "5422acb9af1c889c16000029",
|
||||||
|
ARMOR = "5448e54d4bdc2dcc718b4568",
|
||||||
|
VEST = "5448e5284bdc2dcb718b4567",
|
||||||
|
BACKPACK = "5448e53e4bdc2d60728b4567",
|
||||||
|
VISORS = "5448e5724bdc2ddf718b4568",
|
||||||
|
FOOD = "5448e8d04bdc2ddf718b4569",
|
||||||
|
DRINK = "5448e8d64bdc2dce718b4568",
|
||||||
|
BARTER_ITEM = "5448eb774bdc2d0a728b4567",
|
||||||
|
INFO = "5448ecbe4bdc2d60728b4568",
|
||||||
|
MEDKIT = "5448f39d4bdc2d0a728b4568",
|
||||||
|
DRUGS = "5448f3a14bdc2d27728b4569",
|
||||||
|
STIMULATOR = "5448f3a64bdc2d60728b456a",
|
||||||
|
MEDICAL = "5448f3ac4bdc2dce718b4569",
|
||||||
|
MEDICAL_SUPPLIES = "57864c8c245977548867e7f1",
|
||||||
|
MOD = "5448fe124bdc2da5018b4567",
|
||||||
|
FUNCTIONAL_MOD = "550aa4154bdc2dd8348b456b",
|
||||||
|
FUEL = "5d650c3e815116009f6201d2",
|
||||||
|
GEAR_MOD = "55802f3e4bdc2de7118b4584",
|
||||||
|
STOCK = "55818a594bdc2db9688b456a",
|
||||||
|
FOREGRIP = "55818af64bdc2d5b648b4570",
|
||||||
|
MASTER_MOD = "55802f4a4bdc2ddb688b4569",
|
||||||
|
MOUNT = "55818b224bdc2dde698b456f",
|
||||||
|
MUZZLE = "5448fe394bdc2d0d028b456c",
|
||||||
|
SIGHTS = "5448fe7a4bdc2d6f028b456b",
|
||||||
|
MEDS = "543be5664bdc2dd4348b4569",
|
||||||
|
MONEY = "543be5dd4bdc2deb348b4569",
|
||||||
|
KEY = "543be5e94bdc2df1348b4568",
|
||||||
|
KEY_MECHANICAL = "5c99f98d86f7745c314214b3",
|
||||||
|
KEYCARD = "5c164d2286f774194c5e69fa",
|
||||||
|
EQUIPMENT = "543be5f84bdc2dd4348b456a",
|
||||||
|
THROW_WEAPON = "543be6564bdc2df4348b4568",
|
||||||
|
FOOD_DRINK = "543be6674bdc2df1348b4569",
|
||||||
|
PISTOL = "5447b5cf4bdc2d65278b4567",
|
||||||
|
SMG = "5447b5e04bdc2d62278b4567",
|
||||||
|
ASSAULT_RIFLE = "5447b5f14bdc2d61278b4567",
|
||||||
|
ASSAULT_CARBINE = "5447b5fc4bdc2d87278b4567",
|
||||||
|
SHOTGUN = "5447b6094bdc2dc3278b4567",
|
||||||
|
MARKSMAN_RIFLE = "5447b6194bdc2d67278b4567",
|
||||||
|
SNIPER_RIFLE = "5447b6254bdc2dc3278b4568",
|
||||||
|
MACHINE_GUN = "5447bed64bdc2d97278b4568",
|
||||||
|
GRENADE_LAUNCHER = "5447bedf4bdc2d87278b4568",
|
||||||
|
SPECIAL_WEAPON = "5447bee84bdc2dc3278b4569",
|
||||||
|
SPEC_ITEM = "5447e0e74bdc2d3c308b4567",
|
||||||
|
KNIFE = "5447e1d04bdc2dff2f8b4567",
|
||||||
|
AMMO = "5485a8684bdc2da71d8b4567",
|
||||||
|
AMMO_BOX = "543be5cb4bdc2deb348b4568",
|
||||||
|
LOOT_CONTAINER = "566965d44bdc2d814c8b4571",
|
||||||
|
MOD_CONTAINER = "5448bf274bdc2dfc2f8b456a",
|
||||||
|
SEARCHABLE_ITEM = "566168634bdc2d144c8b456c",
|
||||||
|
STASH = "566abbb64bdc2d144c8b457d",
|
||||||
|
SORTING_TABLE = "6050cac987d3f925bf016837",
|
||||||
|
LOCKABLE_CONTAINER = "5671435f4bdc2d96058b4569",
|
||||||
|
SIMPLE_CONTAINER = "5795f317245977243854e041",
|
||||||
|
INVENTORY = "55d720f24bdc2d88028b456d",
|
||||||
|
STATIONARY_CONTAINER = "567583764bdc2d98058b456e",
|
||||||
|
POCKETS = "557596e64bdc2dc2118b4571",
|
||||||
|
ARMBAND = "5b3f15d486f77432d0509248",
|
||||||
|
DOG_TAG_USEC = "59f32c3b86f77472a31742f0",
|
||||||
|
DOG_TAG_BEAR = "59f32bb586f774757e1e8442",
|
||||||
|
JEWELRY = "57864a3d24597754843f8721",
|
||||||
|
ELECTRONICS = "57864a66245977548f04a81f",
|
||||||
|
BUILDING_MATERIAL = "57864ada245977548638de91",
|
||||||
|
TOOL = "57864bb7245977548b3b66c2",
|
||||||
|
HOUSEHOLD_GOODS = "57864c322459775490116fbf",
|
||||||
|
LUBRICANT = "57864e4c24597754843f8723",
|
||||||
|
BATTERY = "57864ee62459775490116fc1",
|
||||||
|
ASSAULT_SCOPE = "55818add4bdc2d5b648b456f",
|
||||||
|
REFLEX_SIGHT = "55818ad54bdc2ddc698b4569",
|
||||||
|
TACTICAL_COMBO = "55818b164bdc2ddc698b456c",
|
||||||
|
MAGAZINE = "5448bc234bdc2d3c308b4569",
|
||||||
|
LIGHT_LASER = "55818b0e4bdc2dde698b456e",
|
||||||
|
FLASH_HIDER = "550aa4bf4bdc2dd6348b456b",
|
||||||
|
COLLIMATOR = "55818ad54bdc2ddc698b4569",
|
||||||
|
COMPACT_COLLIMATOR = "55818acf4bdc2dde698b456b",
|
||||||
|
COMPENSATOR = "550aa4af4bdc2dd4348b456e",
|
||||||
|
OPTIC_SCOPE = "55818ae44bdc2dde698b456c",
|
||||||
|
SPECIAL_SCOPE = "55818aeb4bdc2ddc698b456a",
|
||||||
|
OTHER = "590c745b86f7743cc433c5f2",
|
||||||
|
SILENCER = "550aa4cd4bdc2dd8348b456c",
|
||||||
|
PORTABLE_RANGE_FINDER = "61605ddea09d851a0a0c1bbc",
|
||||||
|
ITEM = "54009119af1c881c07000029",
|
||||||
|
CYLINDER_MAGAZINE = "610720f290b75a49ff2e5e25"
|
||||||
|
}
|
18
TypeScript/11BundleLoadingSample/types/models/enums/ConfigTypes.d.ts
vendored
Normal file
18
TypeScript/11BundleLoadingSample/types/models/enums/ConfigTypes.d.ts
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
export declare enum ConfigTypes {
|
||||||
|
AIRDROP = "aki-airdrop",
|
||||||
|
BOT = "aki-bot",
|
||||||
|
CORE = "aki-core",
|
||||||
|
HEALTH = "aki-health",
|
||||||
|
HIDEOUT = "aki-hideout",
|
||||||
|
HTTP = "aki-http",
|
||||||
|
IN_RAID = "aki-inraid",
|
||||||
|
INSURANCE = "aki-insurance",
|
||||||
|
INVENTORY = "aki-inventory",
|
||||||
|
LOCATION = "aki-location",
|
||||||
|
MATCH = "aki-match",
|
||||||
|
QUEST = "aki-quest",
|
||||||
|
RAGFAIR = "aki-ragfair",
|
||||||
|
REPAIR = "aki-repair",
|
||||||
|
TRADER = "aki-trader",
|
||||||
|
WEATHER = "aki-weather"
|
||||||
|
}
|
11
TypeScript/11BundleLoadingSample/types/models/enums/ELocationName.d.ts
vendored
Normal file
11
TypeScript/11BundleLoadingSample/types/models/enums/ELocationName.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
export declare enum ELocationName {
|
||||||
|
FACTORY_DAY = "factory4_day",
|
||||||
|
BIGMAP = "bigmap",
|
||||||
|
WOODS = "Woods",
|
||||||
|
SHORELINE = "Shoreline",
|
||||||
|
INTERCHANGE = "Interchange",
|
||||||
|
LIGHTHOUSE = "Lighthouse",
|
||||||
|
LABORATORY = "laboratory",
|
||||||
|
RESERVE = "RezervBase",
|
||||||
|
ANY = "any"
|
||||||
|
}
|
16
TypeScript/11BundleLoadingSample/types/models/enums/EquipmentSlots.d.ts
vendored
Normal file
16
TypeScript/11BundleLoadingSample/types/models/enums/EquipmentSlots.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export declare enum EquipmentSlots {
|
||||||
|
HEADWEAR = "Headwear",
|
||||||
|
EARPIECE = "Earpiece",
|
||||||
|
FACE_COVER = "FaceCover",
|
||||||
|
ARMOR_VEST = "ArmorVest",
|
||||||
|
EYEWEAR = "Eyewear",
|
||||||
|
ARM_BAND = "ArmBand",
|
||||||
|
TACTICAL_VEST = "TacticalVest",
|
||||||
|
POCKETS = "Pockets",
|
||||||
|
BACKPACK = "Backpack",
|
||||||
|
SECURED_CONTAINER = "SecuredContainer",
|
||||||
|
FIRST_PRIMARY_WEAPON = "FirstPrimaryWeapon",
|
||||||
|
SECOND_PRIMARY_WEAPON = "SecondPrimaryWeapon",
|
||||||
|
HOLSTER = "Holster",
|
||||||
|
SCABBARD = "Scabbard"
|
||||||
|
}
|
25
TypeScript/11BundleLoadingSample/types/models/enums/HideoutAreas.d.ts
vendored
Normal file
25
TypeScript/11BundleLoadingSample/types/models/enums/HideoutAreas.d.ts
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
export declare enum HideoutAreas {
|
||||||
|
NOTSET = -1,
|
||||||
|
VENTS = 0,
|
||||||
|
SECURITY = 1,
|
||||||
|
LAVATORY = 2,
|
||||||
|
STASH = 3,
|
||||||
|
GENERATOR = 4,
|
||||||
|
HEATING = 5,
|
||||||
|
WATER_COLLECTOR = 6,
|
||||||
|
MEDSTATION = 7,
|
||||||
|
NUTRITION_UNIT = 8,
|
||||||
|
REST_SPACE = 9,
|
||||||
|
WORKBENCH = 10,
|
||||||
|
INTEL_CENTER = 11,
|
||||||
|
SHOOTING_RANGE = 12,
|
||||||
|
LIBRARY = 13,
|
||||||
|
SCAV_CASE = 14,
|
||||||
|
ILLUMINATION = 15,
|
||||||
|
PLACE_OF_FAME = 16,
|
||||||
|
AIR_FILTERING = 17,
|
||||||
|
SOLAR_POWER = 18,
|
||||||
|
BOOZE_GENERATOR = 19,
|
||||||
|
BITCOIN_FARM = 20,
|
||||||
|
CHRISTMAS_TREE = 21
|
||||||
|
}
|
13
TypeScript/11BundleLoadingSample/types/models/enums/MemberCategory.d.ts
vendored
Normal file
13
TypeScript/11BundleLoadingSample/types/models/enums/MemberCategory.d.ts
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
export declare enum MemberCategory {
|
||||||
|
Default = 0,
|
||||||
|
Developer = 1,
|
||||||
|
UniqueId = 2,
|
||||||
|
Trader = 4,
|
||||||
|
Group = 8,
|
||||||
|
System = 16,
|
||||||
|
ChatModerator = 32,
|
||||||
|
ChatModeratorWithPermanentBan = 64,
|
||||||
|
UnitTest = 128,
|
||||||
|
Sherpa = 256,
|
||||||
|
Emissary = 512
|
||||||
|
}
|
16
TypeScript/11BundleLoadingSample/types/models/enums/MessageType.d.ts
vendored
Normal file
16
TypeScript/11BundleLoadingSample/types/models/enums/MessageType.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
export declare enum MessageType {
|
||||||
|
USER_MESSAGE = 1,
|
||||||
|
NPC_TRADER = 2,
|
||||||
|
AUCTION_MESSAGE = 3,
|
||||||
|
FLEAMARKET_MESSAGE = 4,
|
||||||
|
ADMIN_MESSAGE = 5,
|
||||||
|
GROUP_CHAT_MESSAGE = 6,
|
||||||
|
SYSTEM_MESSAGE = 7,
|
||||||
|
INSURANCE_RETURN = 8,
|
||||||
|
GLOBAL_CHAT = 9,
|
||||||
|
QUEST_START = 10,
|
||||||
|
QUEST_FAIL = 11,
|
||||||
|
QUEST_SUCCESS = 12,
|
||||||
|
MESSAGE_WITH_ITEMS = 13,
|
||||||
|
INITIAL_SUPPORT = 14
|
||||||
|
}
|
5
TypeScript/11BundleLoadingSample/types/models/enums/Money.d.ts
vendored
Normal file
5
TypeScript/11BundleLoadingSample/types/models/enums/Money.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export declare enum Money {
|
||||||
|
ROUBLES = "5449016a4bdc2d6f028b456f",
|
||||||
|
EUROS = "569668774bdc2da2298b4568",
|
||||||
|
DOLLARS = "5696686a4bdc2da3298b456a"
|
||||||
|
}
|
10
TypeScript/11BundleLoadingSample/types/models/enums/Traders.d.ts
vendored
Normal file
10
TypeScript/11BundleLoadingSample/types/models/enums/Traders.d.ts
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
export declare enum Traders {
|
||||||
|
PRAPOR = "54cb50c76803fa8b248b4571",
|
||||||
|
THERAPIST = "54cb57776803fa99248b456e",
|
||||||
|
FENCE = "579dc571d53a0658a154fbec",
|
||||||
|
SKIER = "58330581ace78e27b8b10cee",
|
||||||
|
PEACEKEEPER = "5935c25fb3acc3127c3d8cd9",
|
||||||
|
MECHANIC = "5a7c2eca46aef81a7ca2145d",
|
||||||
|
RAGMAN = "5ac3b934156ae10c4430e83c",
|
||||||
|
JAEGER = "5c0647fdd443bc2504c2d371"
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
|
import { ELocationName } from "../../enums/ELocationName";
|
||||||
import { IBaseConfig } from "./IBaseConfig";
|
import { IBaseConfig } from "./IBaseConfig";
|
||||||
export interface IQuestConfig extends IBaseConfig {
|
export interface IQuestConfig extends IBaseConfig {
|
||||||
kind: "aki-quest";
|
kind: "aki-quest";
|
||||||
@ -15,17 +16,6 @@ export interface IRepeatableQuestConfig {
|
|||||||
traderWhitelist: ITraderWhitelist[];
|
traderWhitelist: ITraderWhitelist[];
|
||||||
questConfig: IQuestConfig;
|
questConfig: IQuestConfig;
|
||||||
}
|
}
|
||||||
export declare enum ELocationName {
|
|
||||||
FACTORY_DAY = "factory4_day",
|
|
||||||
BIGMAP = "bigmap",
|
|
||||||
WOODS = "Woods",
|
|
||||||
SHORELINE = "Shoreline",
|
|
||||||
INTERCHANGE = "Interchange",
|
|
||||||
LIGHTHOUSE = "Lighthouse",
|
|
||||||
LABORATORY = "laboratory",
|
|
||||||
RESERVE = "RezervBase",
|
|
||||||
ANY = "any"
|
|
||||||
}
|
|
||||||
export interface IRewardScaling {
|
export interface IRewardScaling {
|
||||||
levels: number[];
|
levels: number[];
|
||||||
experience: number[];
|
experience: number[];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
declare namespace ModLoader {
|
export declare namespace ModLoader {
|
||||||
interface IMod {
|
interface IMod {
|
||||||
name: string;
|
name: string;
|
||||||
version: string;
|
version: string;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
import http, { ServerResponse } from "http";
|
import http, { ServerResponse } from "http";
|
||||||
import { INotification } from "../../eft/notifier/INotifier";
|
import { INotification } from "../../eft/notifier/INotifier";
|
||||||
export interface IHttpServer {
|
export interface IHttpServer {
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
import { IncomingMessage, ServerResponse } from "http";
|
import { IncomingMessage, ServerResponse } from "http";
|
||||||
import { VFS } from "../utils/VFS";
|
|
||||||
import { IHttpServer } from "../models/spt/server/IHttpServer";
|
import { IHttpServer } from "../models/spt/server/IHttpServer";
|
||||||
|
import { ImageRouteService } from "../services/mod/image/imageRouteService";
|
||||||
|
import { VFS } from "../utils/VFS";
|
||||||
export declare class ImageRouter {
|
export declare class ImageRouter {
|
||||||
private vfs;
|
private vfs;
|
||||||
constructor(vfs: VFS);
|
private imageRouteService;
|
||||||
private onRoute;
|
constructor(vfs: VFS, imageRouteService: ImageRouteService);
|
||||||
addRoute(key: string, valueToAdd: string): void;
|
addRoute(key: string, valueToAdd: string): void;
|
||||||
sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void;
|
sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void;
|
||||||
getImage(): string;
|
getImage(): string;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { JsonUtil } from "../utils/JsonUtil";
|
import { JsonUtil } from "../utils/JsonUtil";
|
||||||
import { VFS } from "../utils/VFS";
|
import { VFS } from "../utils/VFS";
|
||||||
import { ILogger } from "../models/spt/utils/ILogger";
|
import { ILogger } from "../models/spt/utils/ILogger";
|
||||||
|
import { ConfigTypes } from "../models/enums/ConfigTypes";
|
||||||
export declare class ConfigServer {
|
export declare class ConfigServer {
|
||||||
private logger;
|
private logger;
|
||||||
private vfs;
|
private vfs;
|
||||||
@ -8,23 +9,6 @@ export declare class ConfigServer {
|
|||||||
private configs;
|
private configs;
|
||||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil);
|
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil);
|
||||||
getConfig<T>(configType: ConfigTypes): T;
|
getConfig<T>(configType: ConfigTypes): T;
|
||||||
|
getConfigByString<T>(configType: string): T;
|
||||||
initialize(): void;
|
initialize(): void;
|
||||||
}
|
}
|
||||||
export declare const enum ConfigTypes {
|
|
||||||
AIRDROP = "aki-airdrop",
|
|
||||||
BOT = "aki-bot",
|
|
||||||
CORE = "aki-core",
|
|
||||||
HEALTH = "aki-health",
|
|
||||||
HIDEOUT = "aki-hideout",
|
|
||||||
HTTP = "aki-http",
|
|
||||||
IN_RAID = "aki-inraid",
|
|
||||||
INSURANCE = "aki-insurance",
|
|
||||||
INVENTORY = "aki-inventory",
|
|
||||||
LOCATION = "aki-location",
|
|
||||||
MATCH = "aki-match",
|
|
||||||
QUEST = "aki-quest",
|
|
||||||
RAGFAIR = "aki-ragfair",
|
|
||||||
REPAIR = "aki-repair",
|
|
||||||
TRADER = "aki-trader",
|
|
||||||
WEATHER = "aki-weather"
|
|
||||||
}
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/// <reference types="node" />
|
/// <reference types="node" />
|
||||||
|
/// <reference types="node" />
|
||||||
import http, { ServerResponse } from "http";
|
import http, { ServerResponse } from "http";
|
||||||
import { Serializer } from "../di/Serializer";
|
import { Serializer } from "../di/Serializer";
|
||||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user