mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
#28 - NewUserExperienceNotCompleteEvent added
This commit is contained in:
parent
12a8362872
commit
8224c3ffb7
File diff suppressed because one or more lines are too long
@ -431,6 +431,7 @@ export class IncomingHeader
|
||||
public static SHOW_ENFORCE_ROOM_CATEGORY = 3896;
|
||||
public static CUSTOM_USER_NOTIFICATION = 909;
|
||||
public static NEW_USER_EXPERIENCE_GIFT_OFFER = 3575;
|
||||
public static NEW_USER_EXPERIENCE_NOT_COMPLETE = 3639;
|
||||
public static CONNECTION_ERROR = 1004;
|
||||
public static ACCOUNT_SAFETY_LOCK_STATUS_CHANGE = 1243;
|
||||
public static PHONE_COLLECTION_STATE = 2890;
|
||||
|
@ -0,0 +1,16 @@
|
||||
import { IMessageEvent } from '../../../../../api';
|
||||
import { MessageEvent } from '../../../../../events';
|
||||
import { NewUserExperienceNotCompleteParser } from '../../parser/nux';
|
||||
|
||||
export class NewUserExperienceNotCompleteEvent extends MessageEvent implements IMessageEvent
|
||||
{
|
||||
constructor(callBack: Function)
|
||||
{
|
||||
super(callBack, NewUserExperienceNotCompleteParser);
|
||||
}
|
||||
|
||||
public getParser(): NewUserExperienceNotCompleteParser
|
||||
{
|
||||
return this.parser as NewUserExperienceNotCompleteParser;
|
||||
}
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
export * from './NewUserExperienceGift';
|
||||
export * from './NewUserExperienceGiftOfferMessageEvent';
|
||||
export * from './NewUserExperienceGiftOptions';
|
||||
export * from './NewUserExperienceNotCompleteEvent';
|
||||
export * from './ProductOffer';
|
||||
|
@ -0,0 +1,16 @@
|
||||
import { IMessageDataWrapper, IMessageParser } from '../../../../../api';
|
||||
|
||||
export class NewUserExperienceNotCompleteParser implements IMessageParser
|
||||
{
|
||||
public flush(): boolean
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public parse(wrapper: IMessageDataWrapper): boolean
|
||||
{
|
||||
if(!wrapper) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1 +1,2 @@
|
||||
export * from './NewUserExperienceGiftOfferMessageParser';
|
||||
export * from './NewUserExperienceNotCompleteParser';
|
||||
|
Loading…
Reference in New Issue
Block a user