Merge branch 'incoming-newuserexperience-not-complete' of https://github.com/oobjectt/nitro-renderer into oobjectt-incoming-newuserexperience-not-complete

This commit is contained in:
dank074 2023-01-04 00:26:00 -06:00
commit a354f8a06d
6 changed files with 37 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -431,6 +431,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 NEW_USER_EXPERIENCE_NOT_COMPLETE = 3639;
public static CONNECTION_ERROR = 1004; public static CONNECTION_ERROR = 1004;
public static ACCOUNT_SAFETY_LOCK_STATUS_CHANGE = 1243; public static ACCOUNT_SAFETY_LOCK_STATUS_CHANGE = 1243;
public static PHONE_COLLECTION_STATE = 2890; public static PHONE_COLLECTION_STATE = 2890;

View File

@ -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;
}
}

View File

@ -1,4 +1,5 @@
export * from './NewUserExperienceGift'; export * from './NewUserExperienceGift';
export * from './NewUserExperienceGiftOfferMessageEvent'; export * from './NewUserExperienceGiftOfferMessageEvent';
export * from './NewUserExperienceGiftOptions'; export * from './NewUserExperienceGiftOptions';
export * from './NewUserExperienceNotCompleteEvent';
export * from './ProductOffer'; export * from './ProductOffer';

View File

@ -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;
}
}

View File

@ -1 +1,2 @@
export * from './NewUserExperienceGiftOfferMessageParser'; export * from './NewUserExperienceGiftOfferMessageParser';
export * from './NewUserExperienceNotCompleteParser';