diff --git a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/10ScopesAndTypes/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts b/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts +++ b/TypeScript/10ScopesAndTypes/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/11BundleLoadingSample/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts b/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts +++ b/TypeScript/11BundleLoadingSample/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts b/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts +++ b/TypeScript/12ClassExtensionOverride/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/13AddTrader/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/13AddTrader/types/services/MailSendService.d.ts b/TypeScript/13AddTrader/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/13AddTrader/types/services/MailSendService.d.ts +++ b/TypeScript/13AddTrader/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts b/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts +++ b/TypeScript/14AfterDBLoadHook/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/15HttpListenerExample/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts b/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts +++ b/TypeScript/15HttpListenerExample/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/16ImporterUtil/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts b/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts +++ b/TypeScript/16ImporterUtil/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts b/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency1/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts b/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts +++ b/TypeScript/17AsyncImporterWithDependency2/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/18CustomItemService/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/18CustomItemService/types/services/MailSendService.d.ts b/TypeScript/18CustomItemService/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/18CustomItemService/types/services/MailSendService.d.ts +++ b/TypeScript/18CustomItemService/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/1LogToConsole/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/1LogToConsole/types/services/MailSendService.d.ts b/TypeScript/1LogToConsole/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/1LogToConsole/types/services/MailSendService.d.ts +++ b/TypeScript/1LogToConsole/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/2EditDatabase/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/2EditDatabase/types/services/MailSendService.d.ts b/TypeScript/2EditDatabase/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/2EditDatabase/types/services/MailSendService.d.ts +++ b/TypeScript/2EditDatabase/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/3GetSptConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts b/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts +++ b/TypeScript/3GetSptConfigFile/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts b/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts +++ b/TypeScript/4UseACustomConfigFile/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/5ReplaceMethod/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts b/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts +++ b/TypeScript/5ReplaceMethod/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts b/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts +++ b/TypeScript/6ReferenceAnotherClass/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/7OnLoadHook/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts b/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts +++ b/TypeScript/7OnLoadHook/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/8OnUpdateHook/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts b/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts +++ b/TypeScript/8OnUpdateHook/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile diff --git a/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts b/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts index 39b635b..147847b 100644 --- a/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts +++ b/TypeScript/9RouterHooks/types/models/eft/common/tables/ITemplateItem.d.ts @@ -264,7 +264,7 @@ export interface Props { CutoffFreq?: number; Resonance?: number; RolloffMultiplier?: number; - ReverbVolume: number; + ReverbVolume?: number; CompressorVolume?: number; AmbientVolume?: number; DryVolume?: number; diff --git a/TypeScript/9RouterHooks/types/services/MailSendService.d.ts b/TypeScript/9RouterHooks/types/services/MailSendService.d.ts index abe8c09..1d49638 100644 --- a/TypeScript/9RouterHooks/types/services/MailSendService.d.ts +++ b/TypeScript/9RouterHooks/types/services/MailSendService.d.ts @@ -107,6 +107,12 @@ export declare class MailSendService { * @returns Sanitised items */ protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems; + /** + * Try to find the most correct item to be the 'primary' item in a reward mail + * @param items Possible items to choose from + * @returns Chosen 'primary' item + */ + protected getBaseItemFromRewards(items: Item[]): Item; /** * Get a dialog with a specified entity (user/trader) * Create and store empty dialog if none exists in profile