Update types

This commit is contained in:
Dev 2023-10-08 13:36:12 +01:00
parent 5293c326fd
commit f32f497a80
42 changed files with 63 additions and 21 deletions

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;

View File

@ -40,7 +40,7 @@ export declare class ScavCaseRewardGenerator {
*/ */
protected cacheDbItems(): void; protected cacheDbItems(): void;
/** /**
* Pick a number of items to be rewards, the count is defined by the values in * Pick a number of items to be rewards, the count is defined by the values in `itemFilters` param
* @param items item pool to pick rewards from * @param items item pool to pick rewards from
* @param itemFilters how the rewards should be filtered down (by item count) * @param itemFilters how the rewards should be filtered down (by item count)
* @returns * @returns

View File

@ -7,6 +7,8 @@ export interface IScavCaseConfig extends IBaseConfig {
ammoRewards: AmmoRewards; ammoRewards: AmmoRewards;
rewardItemParentBlacklist: string[]; rewardItemParentBlacklist: string[];
rewardItemBlacklist: string[]; rewardItemBlacklist: string[];
allowMultipleMoneyRewardsPerRarity: boolean;
allowMultipleAmmoRewardsPerRarity: boolean;
} }
export interface MoneyRewards { export interface MoneyRewards {
moneyRewardChancePercent: number; moneyRewardChancePercent: number;