Update types
This commit is contained in:
parent
a1ece06ba8
commit
183276e857
@ -1,11 +1,11 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||
import { BotGenerator } from "../generators/BotGenerator";
|
||||
import { BotHelper } from "../helpers/BotHelper";
|
||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||
import { IBotCore } from "../models/eft/common/tables/IBotCore";
|
||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { BotHelper } from "../helpers/BotHelper";
|
||||
import { BotGenerator } from "../generators/BotGenerator";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class BotController {
|
||||
private databaseServer;
|
||||
private botGenerator;
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||
import { DialogueInfo } from "../models/eft/profile/IAkiProfile";
|
||||
import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData";
|
||||
import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse";
|
||||
import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse";
|
||||
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";
|
||||
export declare class DialogueController {
|
||||
private httpResponse;
|
||||
|
@ -1,29 +1,29 @@
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { TimeUtil } from "../utils/TimeUtil";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { PlayerService } from "../services/PlayerService";
|
||||
import { HideoutHelper } from "../helpers/HideoutHelper";
|
||||
import { InventoryHelper } from "../helpers/InventoryHelper";
|
||||
import { PaymentHelper } from "../helpers/PaymentHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { 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 { 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 { 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 { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||
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 {
|
||||
private logger;
|
||||
private hashUtil;
|
||||
|
@ -1,16 +1,16 @@
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { TraderHelper } from "../helpers/TraderHelper";
|
||||
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
||||
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 { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { QuestHelper } from "../helpers/QuestHelper";
|
||||
import { InRaidHelper } from "../helpers/InRaidHelper";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { InsuranceService } from "../services/InsuranceService";
|
||||
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
export declare class InraidController {
|
||||
private saveServer;
|
||||
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 { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData";
|
||||
import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { InsuranceService } from "../services/InsuranceService";
|
||||
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 {
|
||||
private logger;
|
||||
private randomUtil;
|
||||
|
@ -1,12 +1,12 @@
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
||||
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
||||
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
||||
import { Info } from "../models/eft/profile/IAkiProfile";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
||||
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
||||
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
||||
import { Info } from "../models/eft/profile/IAkiProfile";
|
||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
export declare class LauncherController {
|
||||
private hashUtil;
|
||||
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 { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { QuestConditionHelper } from "../helpers/QuestConditionHelper";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { PlayerService } from "../services/PlayerService";
|
||||
import { QuestHelper } from "../helpers/QuestHelper";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IQuest } from "../models/eft/common/tables/IQuest";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData";
|
||||
import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData";
|
||||
import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
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 {
|
||||
private logger;
|
||||
private timeUtil;
|
||||
|
@ -1,15 +1,15 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
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 { 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 { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { PaymentService } from "../services/PaymentService";
|
||||
export declare class RepairController {
|
||||
private logger;
|
||||
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 { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
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 { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { WeatherGenerator } from "../generators/WeatherGenerator";
|
||||
import { IWeatherData } from "../models/eft/weather/IWeatherData";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
export declare class WeatherController {
|
||||
private weatherGenerator;
|
||||
private configServer;
|
||||
|
@ -1,14 +1,14 @@
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { BotHelper } from "../helpers/BotHelper";
|
||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
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 { BotHelper } from "../helpers/BotHelper";
|
||||
export declare class BotGenerator {
|
||||
private logger;
|
||||
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 { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||
import { Inventory as PmcInventory } from "../models/eft/common/IPmcData";
|
||||
import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
||||
export declare class BotLootGenerator {
|
||||
private jsonUtil;
|
||||
private hashUtil;
|
||||
|
@ -1,17 +1,17 @@
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../models/eft/common/tables/ILootBase";
|
||||
import { ContainerHelper } from "../helpers/ContainerHelper";
|
||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||
import { ContainerHelper } from "../helpers/ContainerHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { MathUtil } from "../utils/MathUtil";
|
||||
import { ObjectId } from "../utils/ObjectId";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
export interface IContainerItem {
|
||||
items: Item[];
|
||||
width: number;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
export declare class RagfairAssortGenerator {
|
||||
|
@ -1,21 +1,21 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
||||
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 { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { TimeUtil } from "../utils/TimeUtil";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
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 {
|
||||
private logger;
|
||||
private jsonUtil;
|
||||
|
@ -12,7 +12,7 @@ import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ContainerHelper } from "./ContainerHelper";
|
||||
import { InventoryHelper } from "./InventoryHelper";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
declare class BotGeneratorHelper {
|
||||
export declare class BotGeneratorHelper {
|
||||
private logger;
|
||||
private jsonUtil;
|
||||
private hashUtil;
|
||||
@ -58,22 +58,3 @@ export declare class ExhaustableArray<T> {
|
||||
getFirstValue(): T;
|
||||
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 { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class BotHelper {
|
||||
private logger;
|
||||
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 { SaveServer } from "../servers/SaveServer";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
import { Dialogue, MessageContent, MessagePreview, MessageType } from "../models/eft/profile/IAkiProfile";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { NotifierHelper } from "./NotifierHelper";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
import { NotificationSendHelper } from "./NotificationSendHelper";
|
||||
import { NotifierHelper } from "./NotifierHelper";
|
||||
export declare class DialogueHelper {
|
||||
private hashUtil;
|
||||
private saveServer;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { BotHelper } from "./BotHelper";
|
||||
export declare class DurabilityLimitsHelper {
|
||||
|
@ -1,11 +1,11 @@
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IAkiProfile } from "../models/eft/profile/IAkiProfile";
|
||||
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 { SaveServer } from "../servers/SaveServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { TimeUtil } from "../utils/TimeUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class HealthHelper {
|
||||
private jsonUtil;
|
||||
private logger;
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
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 { 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 { JsonUtil } from "../utils/JsonUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
declare class ItemHelper {
|
||||
private logger;
|
||||
private hashUtil;
|
||||
@ -139,98 +139,9 @@ declare class ItemHelper {
|
||||
getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize;
|
||||
}
|
||||
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 {
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
enum Money {
|
||||
ROUBLES = "5449016a4bdc2d6f028b456f",
|
||||
EUROS = "569668774bdc2da2298b4568",
|
||||
DOLLARS = "5696686a4bdc2da3298b456a"
|
||||
}
|
||||
}
|
||||
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 { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
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 { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class RepairHelper {
|
||||
private logger;
|
||||
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 { SaveServer } from "../servers/SaveServer";
|
||||
import { FenceService } from "../services/FenceService";
|
||||
import { PlayerService } from "../services/PlayerService";
|
||||
import { HandbookHelper } from "./HandbookHelper";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
import { ProfileHelper } from "./ProfileHelper";
|
||||
import { PaymentHelper } from "./PaymentHelper";
|
||||
import { FenceService } from "../services/FenceService";
|
||||
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";
|
||||
import { ProfileHelper } from "./ProfileHelper";
|
||||
export declare class TraderHelper {
|
||||
private logger;
|
||||
private databaseServer;
|
||||
|
@ -1,25 +1,29 @@
|
||||
import { DependencyContainer } from "tsyringe";
|
||||
import { ModLoader } from "../models/spt/mod/IMod";
|
||||
import { IModLoader } from "../models/spt/mod/IModLoader";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { ModCompilerService } from "../services/ModCompilerService";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { VFS } from "../utils/VFS";
|
||||
import { BundleLoader } from "./BundleLoader";
|
||||
export declare class InitialModLoader implements IModLoader {
|
||||
private logger;
|
||||
private vfs;
|
||||
private jsonUtil;
|
||||
private modCompilerService;
|
||||
private bundleLoader;
|
||||
private configServer;
|
||||
private static container;
|
||||
private readonly basepath;
|
||||
private imported;
|
||||
private onLoad;
|
||||
private akiConfig;
|
||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, configServer: ConfigServer);
|
||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer);
|
||||
load(container: DependencyContainer): Promise<void>;
|
||||
getBundles(local: boolean): string;
|
||||
getBundle(key: string, local: boolean): void;
|
||||
getMods(): Record<string, ModLoader.IMod>;
|
||||
getImportedModsNames(): string[];
|
||||
getModPath(mod: string): string;
|
||||
private importClass;
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { IRagfairOffer } from "../ragfair/IRagfairOffer";
|
||||
import { IPmcDataRepeatableQuest } from "./tables/IRepeatableQuests";
|
||||
import { Item, Upd } from "./tables/IItem";
|
||||
import { HideoutAreasEnum } from "../hideout/HideoutAreasEnum";
|
||||
import { MemberCategory } from "./MemberCategory";
|
||||
import { HideoutAreas } from "../../enums/HideoutAreas";
|
||||
import { MemberCategory } from "../../enums/MemberCategory";
|
||||
export interface IPmcData {
|
||||
_id: string;
|
||||
aid: string;
|
||||
@ -289,7 +289,7 @@ export interface Production extends Productive {
|
||||
ProductionTime: number;
|
||||
}
|
||||
export interface HideoutArea {
|
||||
type: HideoutAreasEnum;
|
||||
type: HideoutAreas;
|
||||
level: number;
|
||||
active: boolean;
|
||||
passiveBonusesEnabled: boolean;
|
||||
|
@ -46,6 +46,40 @@ export interface AvailableForProps {
|
||||
visibilityConditions?: VisibilityCondition[];
|
||||
target?: string | string[];
|
||||
status?: number[];
|
||||
onlyFoundInRaid?: boolean;
|
||||
oneSessionOnly?: boolean;
|
||||
doNotResetIfCounterCompleted?: boolean;
|
||||
dogtagLevel?: number;
|
||||
maxDurability?: number;
|
||||
minDurability?: number;
|
||||
counter?: AvailableForCounter;
|
||||
plantTime?: number;
|
||||
zoneId?: string;
|
||||
type?: boolean;
|
||||
}
|
||||
export interface AvailableForCounter {
|
||||
id: string;
|
||||
conditions: CounterCondition[];
|
||||
}
|
||||
export interface CounterCondition {
|
||||
_parent: string;
|
||||
_props: CounterProps;
|
||||
}
|
||||
export interface CounterProps {
|
||||
id: string;
|
||||
target: string[] | string;
|
||||
compareMethod?: string;
|
||||
value?: string;
|
||||
weapon?: string[];
|
||||
equipmentInclusive?: string[][];
|
||||
weaponModsInclusive?: string[][];
|
||||
status?: string[];
|
||||
bodyPart?: string[];
|
||||
daytime?: DaytimeCounter;
|
||||
}
|
||||
export interface DaytimeCounter {
|
||||
from: number;
|
||||
to: number;
|
||||
}
|
||||
export interface VisibilityCondition {
|
||||
id: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MemberCategory } from "../common/MemberCategory";
|
||||
import { MemberCategory } from "../../enums/MemberCategory";
|
||||
export interface IGetFriendListDataResponse {
|
||||
Friends: Friend[];
|
||||
Ignore: any[];
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MessageType } from "../profile/IAkiProfile";
|
||||
import { MessageType } from "../../enums/MessageType";
|
||||
export interface IGetMailDialogViewRequestData {
|
||||
type: MessageType;
|
||||
dialogId: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MessageType } from "../profile/IAkiProfile";
|
||||
import { MessageType } from "../../enums/MessageType";
|
||||
export interface ISendMessageRequest {
|
||||
dialogId: string;
|
||||
type: MessageType;
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { MessageType } from "../../enums/MessageType";
|
||||
import { IPmcData } from "../common/IPmcData";
|
||||
import { Item } from "../common/tables/IItem";
|
||||
export interface IAkiProfile {
|
||||
@ -43,22 +44,6 @@ export interface DialogueInfo {
|
||||
new: 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 {
|
||||
_id: string;
|
||||
uid: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MemberCategory } from "../common/MemberCategory";
|
||||
import { MemberCategory } from "../../enums/MemberCategory";
|
||||
import { Item } from "../common/tables/IItem";
|
||||
export interface IRagfairOffer {
|
||||
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";
|
||||
export interface IQuestConfig extends IBaseConfig {
|
||||
kind: "aki-quest";
|
||||
@ -15,17 +16,6 @@ export interface IRepeatableQuestConfig {
|
||||
traderWhitelist: ITraderWhitelist[];
|
||||
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 {
|
||||
levels: number[];
|
||||
experience: number[];
|
||||
|
@ -1,4 +1,4 @@
|
||||
declare namespace ModLoader {
|
||||
export declare namespace ModLoader {
|
||||
interface IMod {
|
||||
name: string;
|
||||
version: string;
|
||||
|
@ -1,4 +1,5 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import http, { ServerResponse } from "http";
|
||||
import { INotification } from "../../eft/notifier/INotifier";
|
||||
export interface IHttpServer {
|
||||
|
@ -1,11 +1,12 @@
|
||||
/// <reference types="node" />
|
||||
import { IncomingMessage, ServerResponse } from "http";
|
||||
import { VFS } from "../utils/VFS";
|
||||
import { IHttpServer } from "../models/spt/server/IHttpServer";
|
||||
import { ImageRouteService } from "../services/mod/image/imageRouteService";
|
||||
import { VFS } from "../utils/VFS";
|
||||
export declare class ImageRouter {
|
||||
private vfs;
|
||||
constructor(vfs: VFS);
|
||||
private onRoute;
|
||||
private imageRouteService;
|
||||
constructor(vfs: VFS, imageRouteService: ImageRouteService);
|
||||
addRoute(key: string, valueToAdd: string): void;
|
||||
sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void;
|
||||
getImage(): string;
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { VFS } from "../utils/VFS";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigTypes } from "../models/enums/ConfigTypes";
|
||||
export declare class ConfigServer {
|
||||
private logger;
|
||||
private vfs;
|
||||
@ -8,23 +9,6 @@ export declare class ConfigServer {
|
||||
private configs;
|
||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil);
|
||||
getConfig<T>(configType: ConfigTypes): T;
|
||||
getConfigByString<T>(configType: string): T;
|
||||
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" />
|
||||
import http, { ServerResponse } from "http";
|
||||
import { Serializer } from "../di/Serializer";
|
||||
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 { SaveServer } from "./SaveServer";
|
||||
import { RagfairPriceService } from "../services/RagfairPriceService";
|
||||
import { RagfairOfferService } from "../services/RagfairOfferService";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
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 { RagfairLinkedItemService } from "../services/RagfairLinkedItemService";
|
||||
import { IRagfairOffer } from "../models/eft/ragfair/IRagfairOffer";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { ConfigServer } from "./ConfigServer";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { RagfairOfferService } from "../services/RagfairOfferService";
|
||||
import { RagfairPriceService } from "../services/RagfairPriceService";
|
||||
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 {
|
||||
private logger;
|
||||
private ragfairOfferGenerator;
|
||||
|
@ -1,15 +1,15 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { FenceLevel } from "../models/eft/common/IGlobals";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { ITraderAssort } from "../models/eft/common/tables/ITrader";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class FenceService {
|
||||
private logger;
|
||||
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 { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
||||
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 {
|
||||
private handbookHelper;
|
||||
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" />
|
||||
import "reflect-metadata";
|
||||
import fs from "fs";
|
||||
import { IAsyncQueue } from "../models/spt/utils/IAsyncQueue";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
export declare class WatermarkLocale {
|
||||
private locales;
|
||||
getLocale(): string;
|
||||
|
@ -1,11 +1,11 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||
import { BotGenerator } from "../generators/BotGenerator";
|
||||
import { BotHelper } from "../helpers/BotHelper";
|
||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||
import { IBotCore } from "../models/eft/common/tables/IBotCore";
|
||||
import { Difficulty } from "../models/eft/common/tables/IBotType";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { BotHelper } from "../helpers/BotHelper";
|
||||
import { BotGenerator } from "../generators/BotGenerator";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class BotController {
|
||||
private databaseServer;
|
||||
private botGenerator;
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { DialogueHelper } from "../helpers/DialogueHelper";
|
||||
import { DialogueInfo } from "../models/eft/profile/IAkiProfile";
|
||||
import { IGetBodyResponseData } from "../models/eft/httpResponse/IGetBodyResponseData";
|
||||
import { IGetAllAttachmentsResponse } from "../models/eft/dialog/IGetAllAttachmentsResponse";
|
||||
import { IGetFriendListDataResponse } from "../models/eft/dialog/IGetFriendListDataResponse";
|
||||
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";
|
||||
export declare class DialogueController {
|
||||
private httpResponse;
|
||||
|
@ -1,29 +1,29 @@
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { TimeUtil } from "../utils/TimeUtil";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { PlayerService } from "../services/PlayerService";
|
||||
import { HideoutHelper } from "../helpers/HideoutHelper";
|
||||
import { InventoryHelper } from "../helpers/InventoryHelper";
|
||||
import { PaymentHelper } from "../helpers/PaymentHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { 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 { 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 { 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 { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { HttpResponseUtil } from "../utils/HttpResponseUtil";
|
||||
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 {
|
||||
private logger;
|
||||
private hashUtil;
|
||||
|
@ -1,16 +1,16 @@
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { TraderHelper } from "../helpers/TraderHelper";
|
||||
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
||||
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 { ISaveProgressRequestData } from "../models/eft/inRaid/ISaveProgressRequestData";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { QuestHelper } from "../helpers/QuestHelper";
|
||||
import { InRaidHelper } from "../helpers/InRaidHelper";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { InsuranceService } from "../services/InsuranceService";
|
||||
import { ExtendedProfileHelper } from "../helpers/ExtendedProfileHelper";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
export declare class InraidController {
|
||||
private saveServer;
|
||||
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 { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IGetInsuranceCostRequestData } from "../models/eft/insurance/IGetInsuranceCostRequestData";
|
||||
import { IInsureRequestData } from "../models/eft/insurance/IInsureRequestData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { InsuranceService } from "../services/InsuranceService";
|
||||
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 {
|
||||
private logger;
|
||||
private randomUtil;
|
||||
|
@ -1,12 +1,12 @@
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
||||
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
||||
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
||||
import { Info } from "../models/eft/profile/IAkiProfile";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { IRegisterData } from "../models/eft/launcher/IRegisterData";
|
||||
import { ILoginRequestData } from "../models/eft/launcher/ILoginRequestData";
|
||||
import { IChangeRequestData } from "../models/eft/launcher/IChangeRequestData";
|
||||
import { Info } from "../models/eft/profile/IAkiProfile";
|
||||
import { HttpServerHelper } from "../helpers/HttpServerHelper";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
export declare class LauncherController {
|
||||
private hashUtil;
|
||||
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 { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { ProfileHelper } from "../helpers/ProfileHelper";
|
||||
import { QuestConditionHelper } from "../helpers/QuestConditionHelper";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { PlayerService } from "../services/PlayerService";
|
||||
import { QuestHelper } from "../helpers/QuestHelper";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IQuest } from "../models/eft/common/tables/IQuest";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { IAcceptQuestRequestData } from "../models/eft/quests/IAcceptQuestRequestData";
|
||||
import { ICompleteQuestRequestData } from "../models/eft/quests/ICompleteQuestRequestData";
|
||||
import { IHandoverQuestRequestData } from "../models/eft/quests/IHandoverQuestRequestData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
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 {
|
||||
private logger;
|
||||
private timeUtil;
|
||||
|
@ -1,15 +1,15 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
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 { 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 { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { PaymentService } from "../services/PaymentService";
|
||||
export declare class RepairController {
|
||||
private logger;
|
||||
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 { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
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 { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { WeatherGenerator } from "../generators/WeatherGenerator";
|
||||
import { IWeatherData } from "../models/eft/weather/IWeatherData";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
export declare class WeatherController {
|
||||
private weatherGenerator;
|
||||
private configServer;
|
||||
|
@ -1,14 +1,14 @@
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { BotHelper } from "../helpers/BotHelper";
|
||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||
import { IGenerateBotsRequestData } from "../models/eft/bot/IGenerateBotsRequestData";
|
||||
import { IBotBase } from "../models/eft/common/tables/IBotBase";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
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 { BotHelper } from "../helpers/BotHelper";
|
||||
export declare class BotGenerator {
|
||||
private logger;
|
||||
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 { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
||||
import { HandbookHelper } from "../helpers/HandbookHelper";
|
||||
import { Inventory as PmcInventory } from "../models/eft/common/IPmcData";
|
||||
import { ItemMinMax, Items } from "../models/eft/common/tables/IBotType";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { BotGeneratorHelper } from "../helpers/BotGeneratorHelper";
|
||||
export declare class BotLootGenerator {
|
||||
private jsonUtil;
|
||||
private hashUtil;
|
||||
|
@ -1,17 +1,17 @@
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { IStaticContainerProps, IStaticLootDetails, IStaticAmmoDetails, IStaticForcedProps } from "../models/eft/common/tables/ILootBase";
|
||||
import { ContainerHelper } from "../helpers/ContainerHelper";
|
||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
import { ILooseLoot, SpawnpointTemplate } from "../models/eft/common/ILooseLoot";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { GameEventHelper } from "../helpers/GameEventHelper";
|
||||
import { ContainerHelper } from "../helpers/ContainerHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { IStaticAmmoDetails, IStaticContainerProps, IStaticForcedProps, IStaticLootDetails } from "../models/eft/common/tables/ILootBase";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { MathUtil } from "../utils/MathUtil";
|
||||
import { ObjectId } from "../utils/ObjectId";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
export interface IContainerItem {
|
||||
items: Item[];
|
||||
width: number;
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
export declare class RagfairAssortGenerator {
|
||||
|
@ -1,21 +1,21 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { ItemHelper } from "../helpers/ItemHelper";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
import { RagfairServerHelper } from "../helpers/RagfairServerHelper";
|
||||
import { Item } from "../models/eft/common/tables/IItem";
|
||||
import { IBarterScheme } from "../models/eft/common/tables/ITrader";
|
||||
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 { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { TimeUtil } from "../utils/TimeUtil";
|
||||
import { PresetHelper } from "../helpers/PresetHelper";
|
||||
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 {
|
||||
private logger;
|
||||
private jsonUtil;
|
||||
|
@ -12,7 +12,7 @@ import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ContainerHelper } from "./ContainerHelper";
|
||||
import { InventoryHelper } from "./InventoryHelper";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
declare class BotGeneratorHelper {
|
||||
export declare class BotGeneratorHelper {
|
||||
private logger;
|
||||
private jsonUtil;
|
||||
private hashUtil;
|
||||
@ -58,22 +58,3 @@ export declare class ExhaustableArray<T> {
|
||||
getFirstValue(): T;
|
||||
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 { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class BotHelper {
|
||||
private logger;
|
||||
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 { SaveServer } from "../servers/SaveServer";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
import { Dialogue, MessageContent, MessagePreview, MessageType } from "../models/eft/profile/IAkiProfile";
|
||||
import { HashUtil } from "../utils/HashUtil";
|
||||
import { NotifierHelper } from "./NotifierHelper";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
import { NotificationSendHelper } from "./NotificationSendHelper";
|
||||
import { NotifierHelper } from "./NotifierHelper";
|
||||
export declare class DialogueHelper {
|
||||
private hashUtil;
|
||||
private saveServer;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { BotHelper } from "./BotHelper";
|
||||
export declare class DurabilityLimitsHelper {
|
||||
|
@ -1,11 +1,11 @@
|
||||
import { SaveServer } from "../servers/SaveServer";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IAkiProfile } from "../models/eft/profile/IAkiProfile";
|
||||
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 { SaveServer } from "../servers/SaveServer";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { TimeUtil } from "../utils/TimeUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class HealthHelper {
|
||||
private jsonUtil;
|
||||
private logger;
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
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 { 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 { JsonUtil } from "../utils/JsonUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
declare class ItemHelper {
|
||||
private logger;
|
||||
private hashUtil;
|
||||
@ -139,98 +139,9 @@ declare class ItemHelper {
|
||||
getItemSize(items: Item[], rootItemId: string): ItemHelper.ItemSize;
|
||||
}
|
||||
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 {
|
||||
width: number;
|
||||
height: number;
|
||||
}
|
||||
enum Money {
|
||||
ROUBLES = "5449016a4bdc2d6f028b456f",
|
||||
EUROS = "569668774bdc2da2298b4568",
|
||||
DOLLARS = "5696686a4bdc2da3298b456a"
|
||||
}
|
||||
}
|
||||
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 { ITemplateItem } from "../models/eft/common/tables/ITemplateItem";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
|
@ -1,10 +1,10 @@
|
||||
import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
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 { JsonUtil } from "../utils/JsonUtil";
|
||||
import { RandomUtil } from "../utils/RandomUtil";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
export declare class RepairHelper {
|
||||
private logger;
|
||||
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 { SaveServer } from "../servers/SaveServer";
|
||||
import { FenceService } from "../services/FenceService";
|
||||
import { PlayerService } from "../services/PlayerService";
|
||||
import { HandbookHelper } from "./HandbookHelper";
|
||||
import { ItemHelper } from "./ItemHelper";
|
||||
import { ProfileHelper } from "./ProfileHelper";
|
||||
import { PaymentHelper } from "./PaymentHelper";
|
||||
import { FenceService } from "../services/FenceService";
|
||||
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";
|
||||
import { ProfileHelper } from "./ProfileHelper";
|
||||
export declare class TraderHelper {
|
||||
private logger;
|
||||
private databaseServer;
|
||||
|
@ -1,25 +1,29 @@
|
||||
import { DependencyContainer } from "tsyringe";
|
||||
import { ModLoader } from "../models/spt/mod/IMod";
|
||||
import { IModLoader } from "../models/spt/mod/IModLoader";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "../servers/ConfigServer";
|
||||
import { ModCompilerService } from "../services/ModCompilerService";
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { VFS } from "../utils/VFS";
|
||||
import { BundleLoader } from "./BundleLoader";
|
||||
export declare class InitialModLoader implements IModLoader {
|
||||
private logger;
|
||||
private vfs;
|
||||
private jsonUtil;
|
||||
private modCompilerService;
|
||||
private bundleLoader;
|
||||
private configServer;
|
||||
private static container;
|
||||
private readonly basepath;
|
||||
private imported;
|
||||
private onLoad;
|
||||
private akiConfig;
|
||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, configServer: ConfigServer);
|
||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil, modCompilerService: ModCompilerService, bundleLoader: BundleLoader, configServer: ConfigServer);
|
||||
load(container: DependencyContainer): Promise<void>;
|
||||
getBundles(local: boolean): string;
|
||||
getBundle(key: string, local: boolean): void;
|
||||
getMods(): Record<string, ModLoader.IMod>;
|
||||
getImportedModsNames(): string[];
|
||||
getModPath(mod: string): string;
|
||||
private importClass;
|
||||
|
@ -1,8 +1,8 @@
|
||||
import { IRagfairOffer } from "../ragfair/IRagfairOffer";
|
||||
import { IPmcDataRepeatableQuest } from "./tables/IRepeatableQuests";
|
||||
import { Item, Upd } from "./tables/IItem";
|
||||
import { HideoutAreasEnum } from "../hideout/HideoutAreasEnum";
|
||||
import { MemberCategory } from "./MemberCategory";
|
||||
import { HideoutAreas } from "../../enums/HideoutAreas";
|
||||
import { MemberCategory } from "../../enums/MemberCategory";
|
||||
export interface IPmcData {
|
||||
_id: string;
|
||||
aid: string;
|
||||
@ -289,7 +289,7 @@ export interface Production extends Productive {
|
||||
ProductionTime: number;
|
||||
}
|
||||
export interface HideoutArea {
|
||||
type: HideoutAreasEnum;
|
||||
type: HideoutAreas;
|
||||
level: number;
|
||||
active: boolean;
|
||||
passiveBonusesEnabled: boolean;
|
||||
|
@ -46,6 +46,40 @@ export interface AvailableForProps {
|
||||
visibilityConditions?: VisibilityCondition[];
|
||||
target?: string | string[];
|
||||
status?: number[];
|
||||
onlyFoundInRaid?: boolean;
|
||||
oneSessionOnly?: boolean;
|
||||
doNotResetIfCounterCompleted?: boolean;
|
||||
dogtagLevel?: number;
|
||||
maxDurability?: number;
|
||||
minDurability?: number;
|
||||
counter?: AvailableForCounter;
|
||||
plantTime?: number;
|
||||
zoneId?: string;
|
||||
type?: boolean;
|
||||
}
|
||||
export interface AvailableForCounter {
|
||||
id: string;
|
||||
conditions: CounterCondition[];
|
||||
}
|
||||
export interface CounterCondition {
|
||||
_parent: string;
|
||||
_props: CounterProps;
|
||||
}
|
||||
export interface CounterProps {
|
||||
id: string;
|
||||
target: string[] | string;
|
||||
compareMethod?: string;
|
||||
value?: string;
|
||||
weapon?: string[];
|
||||
equipmentInclusive?: string[][];
|
||||
weaponModsInclusive?: string[][];
|
||||
status?: string[];
|
||||
bodyPart?: string[];
|
||||
daytime?: DaytimeCounter;
|
||||
}
|
||||
export interface DaytimeCounter {
|
||||
from: number;
|
||||
to: number;
|
||||
}
|
||||
export interface VisibilityCondition {
|
||||
id: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MemberCategory } from "../common/MemberCategory";
|
||||
import { MemberCategory } from "../../enums/MemberCategory";
|
||||
export interface IGetFriendListDataResponse {
|
||||
Friends: Friend[];
|
||||
Ignore: any[];
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MessageType } from "../profile/IAkiProfile";
|
||||
import { MessageType } from "../../enums/MessageType";
|
||||
export interface IGetMailDialogViewRequestData {
|
||||
type: MessageType;
|
||||
dialogId: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MessageType } from "../profile/IAkiProfile";
|
||||
import { MessageType } from "../../enums/MessageType";
|
||||
export interface ISendMessageRequest {
|
||||
dialogId: string;
|
||||
type: MessageType;
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { MessageType } from "../../enums/MessageType";
|
||||
import { IPmcData } from "../common/IPmcData";
|
||||
import { Item } from "../common/tables/IItem";
|
||||
export interface IAkiProfile {
|
||||
@ -43,22 +44,6 @@ export interface DialogueInfo {
|
||||
new: 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 {
|
||||
_id: string;
|
||||
uid: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { MemberCategory } from "../common/MemberCategory";
|
||||
import { MemberCategory } from "../../enums/MemberCategory";
|
||||
import { Item } from "../common/tables/IItem";
|
||||
export interface IRagfairOffer {
|
||||
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";
|
||||
export interface IQuestConfig extends IBaseConfig {
|
||||
kind: "aki-quest";
|
||||
@ -15,17 +16,6 @@ export interface IRepeatableQuestConfig {
|
||||
traderWhitelist: ITraderWhitelist[];
|
||||
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 {
|
||||
levels: number[];
|
||||
experience: number[];
|
||||
|
@ -1,4 +1,4 @@
|
||||
declare namespace ModLoader {
|
||||
export declare namespace ModLoader {
|
||||
interface IMod {
|
||||
name: string;
|
||||
version: string;
|
||||
|
@ -1,4 +1,5 @@
|
||||
/// <reference types="node" />
|
||||
/// <reference types="node" />
|
||||
import http, { ServerResponse } from "http";
|
||||
import { INotification } from "../../eft/notifier/INotifier";
|
||||
export interface IHttpServer {
|
||||
|
@ -1,11 +1,12 @@
|
||||
/// <reference types="node" />
|
||||
import { IncomingMessage, ServerResponse } from "http";
|
||||
import { VFS } from "../utils/VFS";
|
||||
import { IHttpServer } from "../models/spt/server/IHttpServer";
|
||||
import { ImageRouteService } from "../services/mod/image/imageRouteService";
|
||||
import { VFS } from "../utils/VFS";
|
||||
export declare class ImageRouter {
|
||||
private vfs;
|
||||
constructor(vfs: VFS);
|
||||
private onRoute;
|
||||
private imageRouteService;
|
||||
constructor(vfs: VFS, imageRouteService: ImageRouteService);
|
||||
addRoute(key: string, valueToAdd: string): void;
|
||||
sendImage(sessionID: string, req: IncomingMessage, resp: ServerResponse, body: any, httpServer: IHttpServer): void;
|
||||
getImage(): string;
|
||||
|
@ -1,6 +1,7 @@
|
||||
import { JsonUtil } from "../utils/JsonUtil";
|
||||
import { VFS } from "../utils/VFS";
|
||||
import { ILogger } from "../models/spt/utils/ILogger";
|
||||
import { ConfigTypes } from "../models/enums/ConfigTypes";
|
||||
export declare class ConfigServer {
|
||||
private logger;
|
||||
private vfs;
|
||||
@ -8,23 +9,6 @@ export declare class ConfigServer {
|
||||
private configs;
|
||||
constructor(logger: ILogger, vfs: VFS, jsonUtil: JsonUtil);
|
||||
getConfig<T>(configType: ConfigTypes): T;
|
||||
getConfigByString<T>(configType: string): T;
|
||||
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" />
|
||||
import http, { ServerResponse } from "http";
|
||||
import { Serializer } from "../di/Serializer";
|
||||
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