Update types

This commit is contained in:
Dev 2023-10-03 19:46:23 +01:00
parent 2c10931ddc
commit b0718124cf
57 changed files with 38 additions and 152 deletions

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings

View File

@ -1,6 +1,6 @@
export declare class WeightedRandomHelper { export declare class WeightedRandomHelper {
/** /**
* USE getWeightedValue() WHERE POSSIBLE * @deprecated USE getWeightedValue() WHERE POSSIBLE
* Gets a tplId from a weighted dictionary * Gets a tplId from a weighted dictionary
* @param {tplId: weighting[]} itemArray * @param {tplId: weighting[]} itemArray
* @returns tplId * @returns tplId

View File

@ -37,7 +37,7 @@ export declare class PaymentService {
* @param traderId Id of trader with assort * @param traderId Id of trader with assort
* @returns Handbook rouble price of item * @returns Handbook rouble price of item
*/ */
protected getTraderItemHandbookPrice(traderAssortId: string, traderId: string): number; protected getTraderItemHandbookPriceRouble(traderAssortId: string, traderId: string): number;
/** /**
* Receive money back after selling * Receive money back after selling
* @param {IPmcData} pmcData * @param {IPmcData} pmcData

View File

@ -45,12 +45,6 @@ export declare class SeasonalEventService {
* @returns * @returns
*/ */
itemIsSeasonalRelated(itemTpl: string): boolean; itemIsSeasonalRelated(itemTpl: string): boolean;
/**
* Get an array of items that appear during a seasonal event
* returns multiple seasonal event items if they are both active
* @returns array of tpl strings
*/
getAllSeasonalEventItems(): string[];
/** /**
* Get an array of seasonal items that should be blocked as season is not currently active * Get an array of seasonal items that should be blocked as season is not currently active
* @returns Array of tpl strings * @returns Array of tpl strings