Update types for 3.2.0 release
This commit is contained in:
parent
cf58a8dd87
commit
3586f650d2
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/10ScopesAndTypes/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/10ScopesAndTypes/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/10ScopesAndTypes/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/10ScopesAndTypes/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/11BundleLoadingSample/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/11BundleLoadingSample/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/11BundleLoadingSample/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/11BundleLoadingSample/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/12ClassExtensionOverride/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/12ClassExtensionOverride/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/12ClassExtensionOverride/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/12ClassExtensionOverride/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/13AddTrader/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/13AddTrader/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/13AddTrader/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/13AddTrader/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/14AfterDBLoadHook/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/14AfterDBLoadHook/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/14AfterDBLoadHook/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/14AfterDBLoadHook/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/1LogToConsole/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/1LogToConsole/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/1LogToConsole/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/1LogToConsole/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -2,11 +2,10 @@ import { IPmcData } from "../models/eft/common/IPmcData";
|
||||
import { IItemEventRouterResponse } from "../models/eft/itemEvent/IItemEventRouterResponse";
|
||||
import { INoteActionData } from "../models/eft/notes/INoteActionData";
|
||||
import { ItemEventRouter } from "../routers/ItemEventRouter";
|
||||
declare class NoteController {
|
||||
export declare class NoteController {
|
||||
protected itemEventRouter: ItemEventRouter;
|
||||
constructor(itemEventRouter: ItemEventRouter);
|
||||
addNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
editNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
deleteNote(pmcData: IPmcData, body: INoteActionData, sessionID: string): IItemEventRouterResponse;
|
||||
}
|
||||
export { NoteController };
|
||||
|
@ -21,7 +21,6 @@ export declare class RepairController {
|
||||
protected repairHelper: RepairHelper;
|
||||
protected configServer: ConfigServer;
|
||||
protected repairConfig: IRepairConfig;
|
||||
protected readonly WEAPON_SKILL_REPAIR_GAIN: number;
|
||||
constructor(logger: ILogger, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, questHelper: QuestHelper, traderHelper: TraderHelper, paymentService: PaymentService, repairHelper: RepairHelper, configServer: ConfigServer);
|
||||
/**
|
||||
* Repair with trader
|
||||
|
@ -28,7 +28,7 @@ export declare class BotGeneratorHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected botConfig: IBotConfig;
|
||||
constructor(logger: ILogger, jsonUtil: JsonUtil, hashUtil: HashUtil, randomUtil: RandomUtil, probabilityHelper: ProbabilityHelper, databaseServer: DatabaseServer, durabilityLimitsHelper: DurabilityLimitsHelper, itemHelper: ItemHelper, inventoryHelper: InventoryHelper, containerHelper: ContainerHelper, configServer: ConfigServer);
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances, isPmc?: boolean): Item[];
|
||||
generateModsForItem(items: Item[], modPool: Mods, parentId: string, parentTemplate: ITemplateItem, modSpawnChances: ModsChances): Item[];
|
||||
/**
|
||||
* Is this magazine cylinder related (revolvers and grenade launchers)
|
||||
* @param magazineParentName the name of the magazines parent
|
||||
|
@ -2,7 +2,7 @@ import { DatabaseServer } from "../servers/DatabaseServer";
|
||||
export declare class GameEventHelper {
|
||||
protected databaseServer: DatabaseServer;
|
||||
constructor(databaseServer: DatabaseServer);
|
||||
get EVENT(): Record<string, string>;
|
||||
get events(): Record<string, string>;
|
||||
get christmasEventItems(): string[];
|
||||
itemIsChristmasRelated(itemId: string): boolean;
|
||||
christmasEventEnabled(): boolean;
|
||||
|
@ -30,14 +30,10 @@ export declare class HideoutHelper {
|
||||
protected inventoryHelper: InventoryHelper;
|
||||
protected playerService: PlayerService;
|
||||
protected configServer: ConfigServer;
|
||||
static BITCOIN_FARM: string;
|
||||
protected WATER_COLLECTOR: string;
|
||||
protected BITCOIN: string;
|
||||
protected EXPEDITIONARY_FUEL_TANK: string;
|
||||
static NAME_BACKENDCOUNTERS_CRAFTING: string;
|
||||
static SKILL_NAME_HIDEOUT: string;
|
||||
static HOUR_FOR_SKILL_CRAFTING: number;
|
||||
static SKILL_NAME_CRAFITING: string;
|
||||
static bitcoinFarm: string;
|
||||
static waterCollector: string;
|
||||
static bitcoin: string;
|
||||
static expeditionaryFuelTank: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, randomUtil: RandomUtil, databaseServer: DatabaseServer, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, inventoryHelper: InventoryHelper, playerService: PlayerService, configServer: ConfigServer);
|
||||
registerProduction(pmcData: IPmcData, body: IHideoutSingleProductionStartRequestData | IHideoutContinousProductionStartRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
@ -48,7 +48,7 @@ export declare class QuestHelper {
|
||||
* Debug Routine for showing some information on the
|
||||
* quest list in question.
|
||||
*/
|
||||
dumpQuests(quests: any, label?: any): void;
|
||||
dumpQuests(quests: any): void;
|
||||
loyaltyRequirementCheck(loyaltyRequirementProperties: AvailableForProps, profile: IPmcData): boolean;
|
||||
protected processReward(reward: Reward): any[];
|
||||
getQuestRewardItems(quest: IQuest, state: QuestStatus): Reward[];
|
||||
|
@ -40,7 +40,7 @@ export declare class RagfairOfferHelper {
|
||||
protected ragfairOfferService: RagfairOfferService;
|
||||
protected localeService: LocaleService;
|
||||
protected configServer: ConfigServer;
|
||||
protected static TPL_GOODS_SOLD: string;
|
||||
protected static goodSoldTemplate: string;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
constructor(logger: ILogger, timeUtil: TimeUtil, hashUtil: HashUtil, itemEventRouter: ItemEventRouter, databaseServer: DatabaseServer, saveServer: SaveServer, dialogueHelper: DialogueHelper, itemHelper: ItemHelper, paymentHelper: PaymentHelper, presetHelper: PresetHelper, profileHelper: ProfileHelper, ragfairServerHelper: RagfairServerHelper, ragfairSortHelper: RagfairSortHelper, ragfairHelper: RagfairHelper, ragfairOfferService: RagfairOfferService, localeService: LocaleService, configServer: ConfigServer);
|
||||
|
@ -26,7 +26,7 @@ export declare class RagfairServerHelper {
|
||||
protected configServer: ConfigServer;
|
||||
protected ragfairConfig: IRagfairConfig;
|
||||
protected questConfig: IQuestConfig;
|
||||
protected static TPL_GOODS_RETURNED: string;
|
||||
protected static goodsReturnedTemplate: string;
|
||||
constructor(randomUtil: RandomUtil, hashUtil: HashUtil, saveServer: SaveServer, databaseServer: DatabaseServer, profileHelper: ProfileHelper, itemHelper: ItemHelper, localeService: LocaleService, dialogueHelper: DialogueHelper, jsonUtil: JsonUtil, configServer: ConfigServer);
|
||||
/**
|
||||
* Is item valid / on blacklist / quest item
|
||||
|
52
TypeScript/2EditDatabase/types/models/enums/SkillTypes.d.ts
vendored
Normal file
52
TypeScript/2EditDatabase/types/models/enums/SkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
export declare enum SkillTypes {
|
||||
HIDEOUT_MANAGEMENT = "HideoutManagement",
|
||||
CRAFTING = "Crafting",
|
||||
METABOLISM = "Metabolism",
|
||||
IMMUNITY = "Immunity",
|
||||
ENDURANCE = "Endurance",
|
||||
STRENGTH = "Strength",
|
||||
VITALITY = "Vitality",
|
||||
HEALTH = "Health",
|
||||
STRESS_RESISTANCE = "StressResistance",
|
||||
THROWING = "Throwing",
|
||||
RECOIL_CONTROL = "RecoilControl",
|
||||
COVERT_MOVEMENT = "CovertMovement",
|
||||
FIELD_MEDICINE = "FieldMedicine",
|
||||
SEARCH = "Search",
|
||||
SNIPING = "Sniping",
|
||||
PERCEPTION = "Perception",
|
||||
INTELLECT = "Intellect",
|
||||
ATTENTION = "Attention",
|
||||
CHARISMA = "Charisma",
|
||||
MEMORY = "Memory",
|
||||
SURGERY = "Surgery",
|
||||
AIM_DRILLS = "AimDrills",
|
||||
TROUBLESHOOTING = "TroubleShooting",
|
||||
PRONE_MOVEMENT = "ProneMovement",
|
||||
FIRST_AID = "FirstAid",
|
||||
LIGHT_VESTS = "LightVests",
|
||||
HEAVY_VESTS = "HeavyVests",
|
||||
WEAPON_MODDING = "WeaponModding",
|
||||
ADVANCED_MODDING = "AdvancedModding",
|
||||
NIGHT_OPS = "NightOps",
|
||||
SILENT_OPS = "SilentOps",
|
||||
LOCKPICKING = "Lockpicking",
|
||||
WEAPON_TREATMENT = "WeaponTreatment",
|
||||
MAG_DRILLS = "MagDrills",
|
||||
FREE_TRADING = "Freetrading",
|
||||
AUCTIONS = "Auctions",
|
||||
CLEAN_OPS = "Cleanoperations",
|
||||
BARTER = "Barter",
|
||||
SHADOW_CONNECTIONS = "Shadowconnections",
|
||||
TASK_PERFORMANCE = "Taskperformance",
|
||||
BEAR_ASSAULT_OPS = "BearAssaultoperations",
|
||||
BEAR_AUTHORITY = "BearAuthority",
|
||||
BEAR_AK_SYSTEMS = "BearAksystems",
|
||||
BEAR_HEAVY_CAL = "BearHeavycaliber",
|
||||
BEAR_RAW_POWER = "BearRawpower",
|
||||
USEC_AR_SYSTEMS = "UsecArsystems",
|
||||
USEC_DEEP_WEAPON_MOD = "UsecDeepweaponmodding_Settings",
|
||||
USEC_LONG_RANGE_OPTICS = "UsecLongrangeoptics_Settings",
|
||||
USEC_NEGOTIATIONS = "UsecNegotiations",
|
||||
USEC_TACTICS = "UsecTactics"
|
||||
}
|
14
TypeScript/2EditDatabase/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
14
TypeScript/2EditDatabase/types/models/enums/WeaponSkillTypes.d.ts
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
export declare enum WeaponSkillTypes {
|
||||
PISTOL = "Pistol",
|
||||
REVOLVER = "Revolver",
|
||||
SMG = "SMG",
|
||||
ASSAULT = "Assault",
|
||||
SHOTGUN = "Shotgun",
|
||||
SNIPER = "Sniper",
|
||||
LMG = "LMG",
|
||||
HMG = "HMG",
|
||||
DMR = "DMR",
|
||||
LAUNCHER = "Launcher",
|
||||
ATTACHED_LAUNCHER = "AttachedLauncher",
|
||||
MELEE = "Melee"
|
||||
}
|
@ -3,4 +3,5 @@ export interface IHideoutConfig extends IBaseConfig {
|
||||
kind: "aki-hideout";
|
||||
runIntervalSeconds: number;
|
||||
fuelDrainRateMultipler: number;
|
||||
hoursForSkillCrafting: number;
|
||||
}
|
||||
|
@ -3,4 +3,5 @@ export interface IRepairConfig extends IBaseConfig {
|
||||
kind: "aki-repair";
|
||||
priceMultiplier: number;
|
||||
applyRandomizeDurabilityLoss: boolean;
|
||||
weaponSkillRepairGain: number;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ export declare class NotifierCallbacks {
|
||||
* until we actually have something to send because otherwise we'd spam the client
|
||||
* and the client would abort the connection due to spam.
|
||||
*/
|
||||
sendNotification(_sessionID: string, req: any, resp: any, _data: any): void;
|
||||
sendNotification(sessionID: string, req: any, resp: any, data: any): void;
|
||||
getNotifier(url: string, info: any, sessionID: string): IGetBodyResponseData<any[]>;
|
||||
createNotifierChannel(url: string, info: IEmptyRequestData, sessionID: string): IGetBodyResponseData<INotifierChannel>;
|
||||
selectProfile(url: string, info: ISelectProfileRequestData, sessionID: string): IGetBodyResponseData<any>;
|
||||
|
@ -45,6 +45,7 @@ export declare class HideoutController {
|
||||
protected hideoutHelper: HideoutHelper;
|
||||
protected scavCaseRewardGenerator: ScavCaseRewardGenerator;
|
||||
protected configServer: ConfigServer;
|
||||
protected static nameBackendCountersCrafting: string;
|
||||
protected hideoutConfig: IHideoutConfig;
|
||||
constructor(logger: ILogger, hashUtil: HashUtil, timeUtil: TimeUtil, databaseServer: DatabaseServer, randomUtil: RandomUtil, inventoryHelper: InventoryHelper, saveServer: SaveServer, playerService: PlayerService, presetHelper: PresetHelper, paymentHelper: PaymentHelper, itemEventRouter: ItemEventRouter, httpResponse: HttpResponseUtil, profileHelper: ProfileHelper, hideoutHelper: HideoutHelper, scavCaseRewardGenerator: ScavCaseRewardGenerator, configServer: ConfigServer);
|
||||
upgrade(pmcData: IPmcData, body: IHideoutUpgradeRequestData, sessionID: string): IItemEventRouterResponse;
|
||||
|
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