mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-27 01:40:52 +01:00
#28 - CitizenshipVipOfferPromoEnabledEvent added
This commit is contained in:
parent
26741b78a7
commit
184c6194d4
File diff suppressed because one or more lines are too long
@ -228,6 +228,7 @@ export class IncomingHeader
|
|||||||
public static USER_INFO = 2725;
|
public static USER_INFO = 2725;
|
||||||
public static USER_OUTFITS = 3315;
|
public static USER_OUTFITS = 3315;
|
||||||
public static USER_PERKS = 2586;
|
public static USER_PERKS = 2586;
|
||||||
|
public static PERK_CITIZENSHIP_VIP_OFFER_PROMO_ENABLED = 2278;
|
||||||
public static USER_PERMISSIONS = 411;
|
public static USER_PERMISSIONS = 411;
|
||||||
public static USER_PET_ADD = 2101;
|
public static USER_PET_ADD = 2101;
|
||||||
public static USER_PET_REMOVE = 3253;
|
public static USER_PET_REMOVE = 3253;
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
import { IMessageEvent } from '../../../../../api';
|
||||||
|
import { MessageEvent } from '../../../../../events';
|
||||||
|
import { CitizenshipVipOfferPromoEnabledMessageParser } from './../../parser';
|
||||||
|
|
||||||
|
export class CitizenshipVipOfferPromoEnabledEvent extends MessageEvent implements IMessageEvent
|
||||||
|
{
|
||||||
|
constructor(callBack: Function)
|
||||||
|
{
|
||||||
|
super(callBack, CitizenshipVipOfferPromoEnabledMessageParser);
|
||||||
|
}
|
||||||
|
|
||||||
|
public getParser(): CitizenshipVipOfferPromoEnabledMessageParser
|
||||||
|
{
|
||||||
|
return this.parser as CitizenshipVipOfferPromoEnabledMessageParser;
|
||||||
|
}
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
export * from './CitizenshipVipOfferPromoEnabledEvent';
|
||||||
export * from './PerkAllowancesMessageEvent';
|
export * from './PerkAllowancesMessageEvent';
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
import { IMessageDataWrapper, IMessageParser } from '../../../../../api';
|
||||||
|
|
||||||
|
export class CitizenshipVipOfferPromoEnabledMessageParser implements IMessageParser
|
||||||
|
{
|
||||||
|
public flush(): boolean
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public parse(wrapper: IMessageDataWrapper): boolean
|
||||||
|
{
|
||||||
|
if(!wrapper) return false;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
|
export * from './CitizenshipVipOfferPromoEnabledMessageParser';
|
||||||
export * from './common';
|
export * from './common';
|
||||||
export * from './PerkAllowancesMessageParser';
|
export * from './PerkAllowancesMessageParser';
|
||||||
|
Loading…
Reference in New Issue
Block a user