mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 08:00:51 +01:00
Merge branch 'oobjectt-group-details-changed'
This commit is contained in:
commit
e0ae063d7b
File diff suppressed because one or more lines are too long
@ -72,6 +72,7 @@ export class IncomingHeader
|
|||||||
public static GROUP_SETTINGS = 3965;
|
public static GROUP_SETTINGS = 3965;
|
||||||
public static GROUP_BADGE_PARTS = 2238;
|
public static GROUP_BADGE_PARTS = 2238;
|
||||||
public static GROUP_MEMBERSHIP_REQUESTED = 1180;
|
public static GROUP_MEMBERSHIP_REQUESTED = 1180;
|
||||||
|
public static GROUP_DETAILS_CHANGED = 1459;
|
||||||
public static ITEM_DIMMER_SETTINGS = 2710;
|
public static ITEM_DIMMER_SETTINGS = 2710;
|
||||||
public static ITEM_STACK_HELPER = 2816;
|
public static ITEM_STACK_HELPER = 2816;
|
||||||
public static ITEM_WALL = 1369;
|
public static ITEM_WALL = 1369;
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
import { IMessageEvent } from '../../../../../api';
|
||||||
|
import { MessageEvent } from '../../../../../events';
|
||||||
|
import { GroupDetailsChangedMessageParser } from '../../parser';
|
||||||
|
|
||||||
|
export class GroupDetailsChangedMessageEvent extends MessageEvent implements IMessageEvent
|
||||||
|
{
|
||||||
|
constructor(callBack: Function)
|
||||||
|
{
|
||||||
|
super(callBack, GroupDetailsChangedMessageParser);
|
||||||
|
}
|
||||||
|
|
||||||
|
public getParser(): GroupDetailsChangedMessageParser
|
||||||
|
{
|
||||||
|
return this.parser as GroupDetailsChangedMessageParser;
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,7 @@
|
|||||||
export * from './access';
|
export * from './access';
|
||||||
export * from './ApproveNameMessageEvent';
|
export * from './ApproveNameMessageEvent';
|
||||||
export * from './data';
|
export * from './data';
|
||||||
|
export * from './GroupDetailsChangedMessageEvent';
|
||||||
export * from './GroupMembershipRequestedMessageEvent';
|
export * from './GroupMembershipRequestedMessageEvent';
|
||||||
export * from './GuildMembershipsMessageEvent';
|
export * from './GuildMembershipsMessageEvent';
|
||||||
export * from './HabboGroupBadgesMessageEvent';
|
export * from './HabboGroupBadgesMessageEvent';
|
||||||
|
@ -0,0 +1,27 @@
|
|||||||
|
import { IMessageDataWrapper, IMessageParser } from '../../../../../api';
|
||||||
|
|
||||||
|
export class GroupDetailsChangedMessageParser implements IMessageParser
|
||||||
|
{
|
||||||
|
private _groupId: number;
|
||||||
|
|
||||||
|
public flush(): boolean
|
||||||
|
{
|
||||||
|
this._groupId = -1;
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public parse(wrapper: IMessageDataWrapper): boolean
|
||||||
|
{
|
||||||
|
if(!wrapper) return false;
|
||||||
|
|
||||||
|
this._groupId = wrapper.readInt();
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public get groupId(): number
|
||||||
|
{
|
||||||
|
return this._groupId;
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,7 @@
|
|||||||
export * from './access';
|
export * from './access';
|
||||||
export * from './ApproveNameResultParser';
|
export * from './ApproveNameResultParser';
|
||||||
export * from './data';
|
export * from './data';
|
||||||
|
export * from './GroupDetailsChangedMessageParser';
|
||||||
export * from './GroupMembershipRequestedMessageParser';
|
export * from './GroupMembershipRequestedMessageParser';
|
||||||
export * from './GuildMembershipsMessageParser';
|
export * from './GuildMembershipsMessageParser';
|
||||||
export * from './HabboGroupBadgesMessageParser';
|
export * from './HabboGroupBadgesMessageParser';
|
||||||
|
Loading…
Reference in New Issue
Block a user