From dbf3e8c10730d1695a3f88396ca12ce937376223 Mon Sep 17 00:00:00 2001 From: Bill Date: Wed, 2 Nov 2022 22:35:58 -0400 Subject: [PATCH] Packet updates --- .../game/directory/Game2AccountGameStatusMessageEvent.ts | 2 +- .../messages/incoming/game/lobby/GameListMessageEvent.ts | 2 +- .../messages/incoming/game/lobby/GameStatusMessageEvent.ts | 2 +- .../messages/incoming/game/lobby/JoinedQueueMessageEvent.ts | 2 +- .../incoming/game/lobby/UserGameAchievementsMessageEvent.ts | 2 +- src/nitro/communication/messages/incoming/index.ts | 2 ++ src/nitro/communication/messages/outgoing/index.ts | 5 +++++ src/nitro/communication/messages/parser/index.ts | 3 +++ 8 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/nitro/communication/messages/incoming/game/directory/Game2AccountGameStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/game/directory/Game2AccountGameStatusMessageEvent.ts index 37ce6a7f..02fc2ab4 100644 --- a/src/nitro/communication/messages/incoming/game/directory/Game2AccountGameStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/game/directory/Game2AccountGameStatusMessageEvent.ts @@ -1,6 +1,6 @@ import { IMessageEvent } from '../../../../../../api'; import { MessageEvent } from '../../../../../../core'; -import { Game2AccountGameStatusMessageParser } from '../../../parser/game/directory'; +import { Game2AccountGameStatusMessageParser } from '../../../parser'; export class Game2AccountGameStatusMessageEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/game/lobby/GameListMessageEvent.ts b/src/nitro/communication/messages/incoming/game/lobby/GameListMessageEvent.ts index 7402bbc3..227cc57b 100644 --- a/src/nitro/communication/messages/incoming/game/lobby/GameListMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/game/lobby/GameListMessageEvent.ts @@ -1,6 +1,6 @@ import { IMessageEvent } from '../../../../../../api'; import { MessageEvent } from '../../../../../../core'; -import { GameListMessageParser } from '../../../parser/game/lobby'; +import { GameListMessageParser } from '../../../parser'; export class GameListMessageEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/game/lobby/GameStatusMessageEvent.ts b/src/nitro/communication/messages/incoming/game/lobby/GameStatusMessageEvent.ts index 2ba10166..6285b4a1 100644 --- a/src/nitro/communication/messages/incoming/game/lobby/GameStatusMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/game/lobby/GameStatusMessageEvent.ts @@ -1,6 +1,6 @@ import { IMessageEvent } from '../../../../../../api'; import { MessageEvent } from '../../../../../../core'; -import { GameStatusMessageParser } from '../../../parser/game/lobby'; +import { GameStatusMessageParser } from '../../../parser'; export class GameStatusMessageEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/game/lobby/JoinedQueueMessageEvent.ts b/src/nitro/communication/messages/incoming/game/lobby/JoinedQueueMessageEvent.ts index 7d9ca217..236bb203 100644 --- a/src/nitro/communication/messages/incoming/game/lobby/JoinedQueueMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/game/lobby/JoinedQueueMessageEvent.ts @@ -1,6 +1,6 @@ import { IMessageEvent } from '../../../../../../api'; import { MessageEvent } from '../../../../../../core'; -import { JoinedQueueMessageParser } from '../../../parser/game/lobby'; +import { JoinedQueueMessageParser } from '../../../parser'; export class JoinedQueueMessageEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/game/lobby/UserGameAchievementsMessageEvent.ts b/src/nitro/communication/messages/incoming/game/lobby/UserGameAchievementsMessageEvent.ts index ee55dc7a..eb8c0c3b 100644 --- a/src/nitro/communication/messages/incoming/game/lobby/UserGameAchievementsMessageEvent.ts +++ b/src/nitro/communication/messages/incoming/game/lobby/UserGameAchievementsMessageEvent.ts @@ -1,6 +1,6 @@ import { IMessageEvent } from '../../../../../../api'; import { MessageEvent } from '../../../../../../core'; -import { UserGameAchievementsMessageParser } from '../../../parser/game/lobby'; +import { UserGameAchievementsMessageParser } from '../../../parser'; export class UserGameAchievementsMessageEvent extends MessageEvent implements IMessageEvent { diff --git a/src/nitro/communication/messages/incoming/index.ts b/src/nitro/communication/messages/incoming/index.ts index 41286c59..1fd27296 100644 --- a/src/nitro/communication/messages/incoming/index.ts +++ b/src/nitro/communication/messages/incoming/index.ts @@ -12,6 +12,8 @@ export * from './crafting'; export * from './desktop'; export * from './friendlist'; export * from './game'; +export * from './game/directory'; +export * from './game/lobby'; export * from './generic'; export * from './group'; export * from './groupforums'; diff --git a/src/nitro/communication/messages/outgoing/index.ts b/src/nitro/communication/messages/outgoing/index.ts index 55f55bd2..23770627 100644 --- a/src/nitro/communication/messages/outgoing/index.ts +++ b/src/nitro/communication/messages/outgoing/index.ts @@ -9,6 +9,11 @@ export * from './desktop'; export * from './friendfurni'; export * from './friendlist'; export * from './game'; +export * from './game/arena'; +export * from './game/directory'; +export * from './game/ingame'; +export * from './game/lobby'; +export * from './game/score'; export * from './gifts'; export * from './group'; export * from './groupforums'; diff --git a/src/nitro/communication/messages/parser/index.ts b/src/nitro/communication/messages/parser/index.ts index 5cffada6..fcd04d18 100644 --- a/src/nitro/communication/messages/parser/index.ts +++ b/src/nitro/communication/messages/parser/index.ts @@ -12,6 +12,9 @@ export * from './crafting'; export * from './desktop'; export * from './friendlist'; export * from './game'; +export * from './game/directory'; +export * from './game/lobby'; +export * from './game/score'; export * from './generic'; export * from './group'; export * from './group/utils';