diff --git a/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts new file mode 100644 index 00000000..061c7e08 --- /dev/null +++ b/src/nitro/communication/messages/incoming/inventory/badges/BadgePointLimitsEvent.ts @@ -0,0 +1,16 @@ +import { IMessageEvent } from 'nitro-renderer/src/core/communication/messages/IMessageEvent'; +import { MessageEvent } from 'nitro-renderer/src/core/communication/messages/MessageEvent'; +import { BadgePointLimitsParser } from 'nitro-renderer/src/nitro/communication/messages/parser/inventory/badges/BadgePointLimitsParser'; + +export class BadgePointLimitsEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, BadgePointLimitsParser); + } + + public getParser(): BadgePointLimitsParser + { + return this.parser as BadgePointLimitsParser; + } +} diff --git a/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts new file mode 100644 index 00000000..71338979 --- /dev/null +++ b/src/nitro/communication/messages/incoming/inventory/badges/BadgeReceivedEvent.ts @@ -0,0 +1,16 @@ +import { IMessageEvent } from 'nitro-renderer/src/core/communication/messages/IMessageEvent'; +import { MessageEvent } from 'nitro-renderer/src/core/communication/messages/MessageEvent'; +import { BadgeReceivedParser } from 'nitro-renderer/src/nitro/communication/messages/parser/inventory/badges/BadgeReceivedParser'; + +export class BadgeReceivedEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, BadgeReceivedParser); + } + + public getParser(): BadgeReceivedParser + { + return this.parser as BadgeReceivedParser; + } +} diff --git a/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts b/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts new file mode 100644 index 00000000..87b97c87 --- /dev/null +++ b/src/nitro/communication/messages/incoming/inventory/badges/IsBadgeRequestFulfilledEvent.ts @@ -0,0 +1,16 @@ +import { IMessageEvent } from 'nitro-renderer/src/core/communication/messages/IMessageEvent'; +import { MessageEvent } from 'nitro-renderer/src/core/communication/messages/MessageEvent'; +import { IsBadgeRequestFulfilledParser } from 'nitro-renderer/src/nitro/communication/messages/parser/inventory/badges/IsBadgeRequestFulfilledParser'; + +export class IsBadgeRequestFulfilledEvent extends MessageEvent implements IMessageEvent +{ + constructor(callBack: Function) + { + super(callBack, IsBadgeRequestFulfilledParser); + } + + public getParser(): IsBadgeRequestFulfilledParser + { + return this.parser as IsBadgeRequestFulfilledParser; + } +} diff --git a/src/nitro/communication/messages/incoming/inventory/badges/_Str_8120.ts b/src/nitro/communication/messages/incoming/inventory/badges/_Str_8120.ts deleted file mode 100644 index 71b80984..00000000 --- a/src/nitro/communication/messages/incoming/inventory/badges/_Str_8120.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { BadgeReceivedParser } from 'nitro-renderer/src/nitro/communication/messages/parser/inventory/badges/BadgeReceivedParser'; -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; - -export class _Str_8120 extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, BadgeReceivedParser); - } - - public getParser(): BadgeReceivedParser - { - return this.parser as BadgeReceivedParser; - } -} diff --git a/src/nitro/communication/messages/incoming/inventory/badges/_Str_8179.ts b/src/nitro/communication/messages/incoming/inventory/badges/_Str_8179.ts deleted file mode 100644 index 4128d05c..00000000 --- a/src/nitro/communication/messages/incoming/inventory/badges/_Str_8179.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { IsBadgeRequestFulfilledParser } from 'nitro-renderer/src/nitro/communication/messages/parser/inventory/badges/IsBadgeRequestFulfilledParser'; -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; - -export class _Str_8179 extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, IsBadgeRequestFulfilledParser); - } - - public getParser(): IsBadgeRequestFulfilledParser - { - return this.parser as IsBadgeRequestFulfilledParser; - } -} diff --git a/src/nitro/communication/messages/incoming/inventory/badges/_Str_8980.ts b/src/nitro/communication/messages/incoming/inventory/badges/_Str_8980.ts deleted file mode 100644 index 72178d60..00000000 --- a/src/nitro/communication/messages/incoming/inventory/badges/_Str_8980.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { BadgePointLimitsParser } from 'nitro-renderer/src/nitro/communication/messages/parser/inventory/badges/BadgePointLimitsParser'; -import { IMessageEvent } from '../../../../../../core/communication/messages/IMessageEvent'; -import { MessageEvent } from '../../../../../../core/communication/messages/MessageEvent'; - -export class _Str_8980 extends MessageEvent implements IMessageEvent -{ - constructor(callBack: Function) - { - super(callBack, BadgePointLimitsParser); - } - - public getParser(): BadgePointLimitsParser - { - return this.parser as BadgePointLimitsParser; - } -} diff --git a/src/nitro/communication/messages/incoming/inventory/badges/index.ts b/src/nitro/communication/messages/incoming/inventory/badges/index.ts index 165da41a..fe4c995d 100644 --- a/src/nitro/communication/messages/incoming/inventory/badges/index.ts +++ b/src/nitro/communication/messages/incoming/inventory/badges/index.ts @@ -1,4 +1,4 @@ +export * from './BadgePointLimitsEvent'; +export * from './BadgeReceivedEvent'; export * from './BadgesEvent'; -export * from './_Str_8120'; -export * from './_Str_8179'; -export * from './_Str_8980'; +export * from './IsBadgeRequestFulfilledEvent';