mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 08:00:51 +01:00
Remove authentication packet
This commit is contained in:
parent
ed79e9fc4a
commit
a8c8643f83
@ -59,7 +59,6 @@ import { GroupConfirmMemberRemoveEvent } from './messages/incoming/group/GroupCo
|
|||||||
import { GroupInformationEvent } from './messages/incoming/group/GroupInformationEvent';
|
import { GroupInformationEvent } from './messages/incoming/group/GroupInformationEvent';
|
||||||
import { GroupMembersEvent } from './messages/incoming/group/GroupMembersEvent';
|
import { GroupMembersEvent } from './messages/incoming/group/GroupMembersEvent';
|
||||||
import { GroupSettingsEvent } from './messages/incoming/group/GroupSettingsEvent';
|
import { GroupSettingsEvent } from './messages/incoming/group/GroupSettingsEvent';
|
||||||
import { AuthenticationEvent } from './messages/incoming/handshake/AuthenticationEvent';
|
|
||||||
import { CallForHelpResultMessageEvent } from './messages/incoming/help/CallForHelpResultMessageEvent';
|
import { CallForHelpResultMessageEvent } from './messages/incoming/help/CallForHelpResultMessageEvent';
|
||||||
import { IncomingHeader } from './messages/incoming/IncomingHeader';
|
import { IncomingHeader } from './messages/incoming/IncomingHeader';
|
||||||
import { AchievementEvent } from './messages/incoming/inventory/achievements/AchievementEvent';
|
import { AchievementEvent } from './messages/incoming/inventory/achievements/AchievementEvent';
|
||||||
@ -474,9 +473,6 @@ export class NitroMessages implements IMessageConfiguration
|
|||||||
|
|
||||||
private registerEvents(): void
|
private registerEvents(): void
|
||||||
{
|
{
|
||||||
// AUTHENTICATION
|
|
||||||
this._events.set(IncomingHeader.AUTHENTICATION, AuthenticationEvent);
|
|
||||||
|
|
||||||
// AVAILABILITY
|
// AVAILABILITY
|
||||||
this._events.set(IncomingHeader.AVAILABILITY_STATUS, AvailabilityStatusMessageEvent);
|
this._events.set(IncomingHeader.AVAILABILITY_STATUS, AvailabilityStatusMessageEvent);
|
||||||
this._events.set(IncomingHeader.GENERIC_ERROR, GenericErrorEvent);
|
this._events.set(IncomingHeader.GENERIC_ERROR, GenericErrorEvent);
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
export * from './AuthenticationEvent';
|
|
@ -9,7 +9,6 @@ export * from './friendlist';
|
|||||||
export * from './game';
|
export * from './game';
|
||||||
export * from './generic';
|
export * from './generic';
|
||||||
export * from './group';
|
export * from './group';
|
||||||
export * from './handshake';
|
|
||||||
export * from './help';
|
export * from './help';
|
||||||
export * from './IncomingHeader';
|
export * from './IncomingHeader';
|
||||||
export * from './inventory';
|
export * from './inventory';
|
||||||
|
Loading…
Reference in New Issue
Block a user