Remove authentication packet

This commit is contained in:
Bill 2021-08-05 13:36:07 -04:00
parent ed79e9fc4a
commit a8c8643f83
4 changed files with 0 additions and 22 deletions

View File

@ -59,7 +59,6 @@ import { GroupConfirmMemberRemoveEvent } from './messages/incoming/group/GroupCo
import { GroupInformationEvent } from './messages/incoming/group/GroupInformationEvent';
import { GroupMembersEvent } from './messages/incoming/group/GroupMembersEvent';
import { GroupSettingsEvent } from './messages/incoming/group/GroupSettingsEvent';
import { AuthenticationEvent } from './messages/incoming/handshake/AuthenticationEvent';
import { CallForHelpResultMessageEvent } from './messages/incoming/help/CallForHelpResultMessageEvent';
import { IncomingHeader } from './messages/incoming/IncomingHeader';
import { AchievementEvent } from './messages/incoming/inventory/achievements/AchievementEvent';
@ -474,9 +473,6 @@ export class NitroMessages implements IMessageConfiguration
private registerEvents(): void
{
// AUTHENTICATION
this._events.set(IncomingHeader.AUTHENTICATION, AuthenticationEvent);
// AVAILABILITY
this._events.set(IncomingHeader.AVAILABILITY_STATUS, AvailabilityStatusMessageEvent);
this._events.set(IncomingHeader.GENERIC_ERROR, GenericErrorEvent);

View File

@ -1,16 +0,0 @@
import { IMessageEvent } from '../../../../../core/communication/messages/IMessageEvent';
import { MessageEvent } from '../../../../../core/communication/messages/MessageEvent';
import { AuthenticationParser } from '../../parser/handshake/AuthenticationParser';
export class AuthenticationEvent extends MessageEvent implements IMessageEvent
{
constructor(callBack: Function)
{
super(callBack, AuthenticationParser);
}
public getParser(): AuthenticationParser
{
return this.parser as AuthenticationParser;
}
}

View File

@ -1 +0,0 @@
export * from './AuthenticationEvent';

View File

@ -9,7 +9,6 @@ export * from './friendlist';
export * from './game';
export * from './generic';
export * from './group';
export * from './handshake';
export * from './help';
export * from './IncomingHeader';
export * from './inventory';