Skip to content

Commit

Permalink
Updated types to 3.8.2 - final
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSpartaPT committed May 12, 2024
1 parent 9587a6a commit ca440e1
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion types/controllers/BuildController.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export declare class BuildController {
saveWeaponBuild(sessionId: string, body: IPresetBuildActionRequestData): void;
/** Handle client/builds/equipment/save event */
saveEquipmentBuild(sessionID: string, request: IPresetBuildActionRequestData): void;
/** Handle client/builds/delete*/
/** Handle client/builds/delete */
removeBuild(sessionID: string, request: IRemoveBuildRequestData): void;
protected removePlayerBuild(idToRemove: string, sessionID: string): void;
/**
Expand Down
2 changes: 1 addition & 1 deletion types/controllers/RepeatableQuestController.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export declare class RepeatableQuestController {
* @param {string} _info Request from client
* @param {string} sessionID Player's session id
*
* @returns {array} Array of "repeatableQuestObjects" as descibed above
* @returns {array} Array of "repeatableQuestObjects" as described above
*/
getClientRepeatableQuests(_info: IEmptyRequestData, sessionID: string): IPmcDataRepeatableQuest[];
/**
Expand Down
2 changes: 1 addition & 1 deletion types/generators/BotEquipmentModGenerator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export declare class BotEquipmentModGenerator {
* Get default preset for weapon, get specific weapon presets for edge cases (mp5/silenced dvl)
* @param weaponTemplate
* @param parentItemTpl
* @returns
* @returns Default preset found
*/
protected getMatchingPreset(weaponTemplate: ITemplateItem, parentItemTpl: string): IPreset;
/**
Expand Down
2 changes: 1 addition & 1 deletion types/helpers/InventoryHelper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import { Inventory } from "@spt-aki/models/eft/common/tables/IBotBase";
import { Item, Upd } from "@spt-aki/models/eft/common/tables/IItem";
import { IAddItemDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemDirectRequest";
import { AddItem } from "@spt-aki/models/eft/inventory/IAddItemRequestData";
import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject";
import { IAddItemsDirectRequest } from "@spt-aki/models/eft/inventory/IAddItemsDirectRequest";
import { IAddItemTempObject } from "@spt-aki/models/eft/inventory/IAddItemTempObject";
import { IInventoryMergeRequestData } from "@spt-aki/models/eft/inventory/IInventoryMergeRequestData";
import { IInventoryMoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryMoveRequestData";
import { IInventoryRemoveRequestData } from "@spt-aki/models/eft/inventory/IInventoryRemoveRequestData";
Expand Down
2 changes: 1 addition & 1 deletion types/models/eft/common/IGlobals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ export interface IBtrMapConfig {
mapID: string;
pathsConfigurations: IBtrMapConfig[];
}
export interface IBtrMapConfig {
export interface IBtrPathConfig {
id: string;
enterPoint: string;
exitPoint: string;
Expand Down
2 changes: 1 addition & 1 deletion types/models/eft/common/tables/IBotBase.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export interface IQuestStatus {
startTime: number;
status: QuestStatus;
statusTimers?: Record<string, number>;
/** Property does not exist in live profile data, but is used by ProfileChanges.questsStatus when sent to client*/
/** Property does not exist in live profile data, but is used by ProfileChanges.questsStatus when sent to client */
completedConditions?: string[];
availableAfter?: number;
}
Expand Down
2 changes: 1 addition & 1 deletion types/models/eft/common/tables/IProfileTemplate.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IPmcData } from "@spt-aki/models/eft/common/IPmcData";
import { Dialogue, IUserBuilds } from "@spt-aki/models/eft/profile/IAkiProfile";
export interface IProfileTemplates {
Standard: IProfileSides;
"Standard": IProfileSides;
"Left Behind": IProfileSides;
"Prepare To Escape": IProfileSides;
"Edge Of Darkness": IProfileSides;
Expand Down
6 changes: 3 additions & 3 deletions types/models/eft/hideout/IQteData.d.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import { Effect } from "@spt-aki/models/eft/health/Effect";
import { BodyPart } from "@spt-aki/models/eft/health/IOffraidHealRequestData";
import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas";
import { SkillTypes } from "@spt-aki/models/enums/SkillTypes";
import { Traders } from "@spt-aki/models/enums/Traders";
import { QteActivityType } from "@spt-aki/models/enums/hideout/QteActivityType";
import { QteEffectType } from "@spt-aki/models/enums/hideout/QteEffectType";
import { QteResultType } from "@spt-aki/models/enums/hideout/QteResultType";
import { QteRewardType } from "@spt-aki/models/enums/hideout/QteRewardType";
import { QteType } from "@spt-aki/models/enums/hideout/QteType";
import { RequirementType } from "@spt-aki/models/enums/hideout/RequirementType";
import { HideoutAreas } from "@spt-aki/models/enums/HideoutAreas";
import { SkillTypes } from "@spt-aki/models/enums/SkillTypes";
import { Traders } from "@spt-aki/models/enums/Traders";
export interface IQteData {
id: string;
type: QteActivityType;
Expand Down
2 changes: 1 addition & 1 deletion types/models/enums/SkillTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export declare enum SkillTypes {
NIGHT_OPS = "NightOps",
SILENT_OPS = "SilentOps",
LOCKPICKING = "Lockpicking",
/** Also called Weapon Maintenance*/
/** Also called Weapon Maintenance */
WEAPON_TREATMENT = "WeaponTreatment",
MAG_DRILLS = "MagDrills",
FREE_TRADING = "Freetrading",
Expand Down
2 changes: 1 addition & 1 deletion types/models/spt/config/IBotConfig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export interface IRandomisedResourceDetails {
meds: IRandomisedResourceValues;
}
export interface IRandomisedResourceValues {
/** Minimum percent of item to randomized between min and max resource*/
/** Minimum percent of item to randomized between min and max resource */
resourcePercent: number;
/** Chance for randomization to not occur */
chanceMaxResourcePercent: number;
Expand Down
2 changes: 1 addition & 1 deletion types/models/spt/config/ICoreConfig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface IRelease {
export interface IGameFixes {
/** Shotguns use a different value than normal guns causing huge pellet dispersion */
fixShotgunDispersion: boolean;
/** Remove items added by mods when the mod no longer exists - can fix dead profiles stuck at game load*/
/** Remove items added by mods when the mod no longer exists - can fix dead profiles stuck at game load */
removeModItemsFromProfile: boolean;
/** Fix issues that cause the game to not start due to inventory item issues */
fixProfileBreakingInventoryItemIssues: boolean;
Expand Down
12 changes: 6 additions & 6 deletions types/models/spt/config/ILocationConfig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ export interface ILocationConfig extends IBaseConfig {
fitLootIntoContainerAttempts: number;
/** Add all possible zones to each maps `OpenZones` property */
addOpenZonesToAllMaps: boolean;
/** Allow addition of custom bot waves designed by SPT to be added to maps - defined in configs/location.json.customWaves*/
/** Allow addition of custom bot waves designed by SPT to be added to maps - defined in configs/location.json.customWaves */
addCustomBotWavesToMaps: boolean;
/** Should the limits defined inside botTypeLimits to appled to locations on game start */
enableBotTypeLimits: boolean;
/** Add limits to a locations base.MinMaxBots array if enableBotTypeLimits is true*/
/** Add limits to a locations base.MinMaxBots array if enableBotTypeLimits is true */
botTypeLimits: Record<string, IBotTypeLimit[]>;
/** container randomisation settings */
containerRandomisationSettings: IContainerRandomistionSettings;
/** How full must a random loose magazine be %*/
/** How full must a random loose magazine be % */
minFillLooseMagazinePercent: number;
/** How full must a random static magazine be %*/
/** How full must a random static magazine be % */
minFillStaticMagazinePercent: number;
allowDuplicateItemsInStaticContainers: boolean;
/** Chance loose magazines have ammo in them TODO - rename to dynamicMagazineLootHasAmmoChancePercent */
Expand All @@ -40,11 +40,11 @@ export interface ILocationConfig extends IBaseConfig {
staticMagazineLootHasAmmoChancePercent: number;
/** Key: map, value: loose loot ids to ignore */
looseLootBlacklist: Record<string, string[]>;
/** Key: map, value: settings to control how long scav raids are*/
/** Key: map, value: settings to control how long scav raids are */
scavRaidTimeSettings: IScavRaidTimeSettings;
/** Settings to adjust mods for lootable equipment in raid */
equipmentLootSettings: IEquipmentLootSettings;
/** Sets the max Patrol Value of the Boxzone on the map Ground Zero*/
/** Sets the max Patrol Value of the Boxzone on the map Ground Zero */
sandboxMaxPatrolvalue: number;
}
export interface IEquipmentLootSettings {
Expand Down
4 changes: 2 additions & 2 deletions types/models/spt/config/IRagfairConfig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface IRagfairConfig extends IBaseConfig {
runIntervalValues: IRunIntervalValues;
/** Player listing settings */
sell: Sell;
/** Trader ids + should their assorts be listed on flea*/
/** Trader ids + should their assorts be listed on flea */
traders: Record<string, boolean>;
dynamic: Dynamic;
}
Expand All @@ -19,7 +19,7 @@ export interface Sell {
chance: Chance;
/** Settings to control how long it takes for a player offer to sell */
time: MinMax;
/**Seconds from clicking remove to remove offer from market */
/** Seconds from clicking remove to remove offer from market */
expireSeconds: number;
}
export interface Chance {
Expand Down
2 changes: 1 addition & 1 deletion types/models/spt/config/ITraderConfig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface FenceConfig {
/** Key: item tpl */
itemStackSizeOverrideMinMax: Record<string, MinMax>;
itemTypeLimits: Record<string, number>;
/** Prevent duplicate offers of items of specific categories by parentId*/
/** Prevent duplicate offers of items of specific categories by parentId */
preventDuplicateOffersOfCategory: string[];
regenerateAssortsOnRefresh: boolean;
/** Max rouble price before item is not listed on flea */
Expand Down
2 changes: 1 addition & 1 deletion types/servers/HttpServer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig";
import { ILogger } from "@spt-aki/models/spt/utils/ILogger";
import { ConfigServer } from "@spt-aki/servers/ConfigServer";
import { DatabaseServer } from "@spt-aki/servers/DatabaseServer";
import { WebSocketServer } from "@spt-aki/servers/WebSocketServer";
import { IHttpListener } from "@spt-aki/servers/http/IHttpListener";
import { WebSocketServer } from "@spt-aki/servers/WebSocketServer";
import { LocalisationService } from "@spt-aki/services/LocalisationService";
export declare class HttpServer {
protected logger: ILogger;
Expand Down

0 comments on commit ca440e1

Please sign in to comment.