mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 09:20:51 +01:00
Co-authored-by: Bill <billsonnn@users.noreply.github.com>
This commit is contained in:
parent
276c3e1b68
commit
e17a698ea7
File diff suppressed because one or more lines are too long
@ -443,6 +443,7 @@ export class IncomingHeader
|
|||||||
public static SHOW_ENFORCE_ROOM_CATEGORY = 3896;
|
public static SHOW_ENFORCE_ROOM_CATEGORY = 3896;
|
||||||
public static CUSTOM_USER_NOTIFICATION = 909;
|
public static CUSTOM_USER_NOTIFICATION = 909;
|
||||||
public static NEW_USER_EXPERIENCE_GIFT_OFFER = 3575;
|
public static NEW_USER_EXPERIENCE_GIFT_OFFER = 3575;
|
||||||
|
public static RESTORE_CLIENT = 426;
|
||||||
public static FIREWORK_CHARGE_DATA = 5210;
|
public static FIREWORK_CHARGE_DATA = 5210;
|
||||||
public static NEW_USER_EXPERIENCE_NOT_COMPLETE = 3639;
|
public static NEW_USER_EXPERIENCE_NOT_COMPLETE = 3639;
|
||||||
public static CONNECTION_ERROR = 1004;
|
public static CONNECTION_ERROR = 1004;
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
import { IMessageEvent } from '../../../../../api';
|
||||||
|
import { MessageEvent } from '../../../../../events';
|
||||||
|
import { RestoreClientMessageParser } from '../../parser';
|
||||||
|
|
||||||
|
export class RestoreClientMessageEvent extends MessageEvent implements IMessageEvent
|
||||||
|
{
|
||||||
|
constructor(callBack: Function)
|
||||||
|
{
|
||||||
|
super(callBack, RestoreClientMessageParser);
|
||||||
|
}
|
||||||
|
|
||||||
|
public getParser(): RestoreClientMessageParser
|
||||||
|
{
|
||||||
|
return this.parser as RestoreClientMessageParser;
|
||||||
|
}
|
||||||
|
}
|
@ -12,5 +12,6 @@ export * from './NotificationDialogMessageEvent';
|
|||||||
export * from './OfferRewardDeliveredMessageEvent';
|
export * from './OfferRewardDeliveredMessageEvent';
|
||||||
export * from './PetLevelNotificationEvent';
|
export * from './PetLevelNotificationEvent';
|
||||||
export * from './PetPlacingErrorEvent';
|
export * from './PetPlacingErrorEvent';
|
||||||
|
export * from './RestoreClientMessageEvent';
|
||||||
export * from './SimpleAlertMessageEvent';
|
export * from './SimpleAlertMessageEvent';
|
||||||
export * from './UnseenItemsEvent';
|
export * from './UnseenItemsEvent';
|
||||||
|
@ -0,0 +1,14 @@
|
|||||||
|
import { IMessageDataWrapper, IMessageParser } from '../../../../../api';
|
||||||
|
|
||||||
|
export class RestoreClientMessageParser implements IMessageParser
|
||||||
|
{
|
||||||
|
public flush(): boolean
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public parse(wrapper: IMessageDataWrapper): boolean
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@ -13,5 +13,6 @@ export * from './NotificationDialogMessageParser';
|
|||||||
export * from './OfferRewardDeliveredMessageParser';
|
export * from './OfferRewardDeliveredMessageParser';
|
||||||
export * from './PetLevelNotificationParser';
|
export * from './PetLevelNotificationParser';
|
||||||
export * from './PetPlacingErrorEventParser';
|
export * from './PetPlacingErrorEventParser';
|
||||||
|
export * from './RestoreClientMessageParser';
|
||||||
export * from './SimpleAlertMessageParser';
|
export * from './SimpleAlertMessageParser';
|
||||||
export * from './UnseenItemsParser';
|
export * from './UnseenItemsParser';
|
||||||
|
Loading…
Reference in New Issue
Block a user