You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
🆕 Groups Forum
This commit is contained in:
@@ -15,6 +15,7 @@ export class GroupSettingsParser implements IMessageParser
|
||||
private _badgeParts: Map<number, GroupDataBadgePart>;
|
||||
private _badgeCode: string;
|
||||
private _membersCount: number;
|
||||
private _hasForum: boolean;
|
||||
|
||||
public flush(): boolean
|
||||
{
|
||||
@@ -30,6 +31,7 @@ export class GroupSettingsParser implements IMessageParser
|
||||
this._badgeParts = new Map();
|
||||
this._badgeCode = null;
|
||||
this._membersCount = 0;
|
||||
this._hasForum = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -83,6 +85,7 @@ export class GroupSettingsParser implements IMessageParser
|
||||
|
||||
this._badgeCode = wrapper.readString();
|
||||
this._membersCount = wrapper.readInt();
|
||||
this._hasForum = wrapper.readBoolean();
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -146,4 +149,9 @@ export class GroupSettingsParser implements IMessageParser
|
||||
{
|
||||
return this._membersCount;
|
||||
}
|
||||
|
||||
public get hasForum(): boolean
|
||||
{
|
||||
return this._hasForum;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user