mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-27 01:40:52 +01:00
Merge branch 'dev' of https://git.krews.org/nitro/nitro-renderer into dev
This commit is contained in:
commit
7fc62d8cb9
@ -11,6 +11,7 @@ export class GroupInformationParser implements IMessageParser
|
|||||||
private _roomName: string;
|
private _roomName: string;
|
||||||
private _membershipType: number;
|
private _membershipType: number;
|
||||||
private _membersCount: number;
|
private _membersCount: number;
|
||||||
|
private _isFavorite: boolean;
|
||||||
private _createdAt: string;
|
private _createdAt: string;
|
||||||
private _isOwner: boolean;
|
private _isOwner: boolean;
|
||||||
private _isAdmin: boolean;
|
private _isAdmin: boolean;
|
||||||
@ -29,7 +30,8 @@ export class GroupInformationParser implements IMessageParser
|
|||||||
this._roomId = 0;
|
this._roomId = 0;
|
||||||
this._roomName = null;
|
this._roomName = null;
|
||||||
this._membershipType = 0;
|
this._membershipType = 0;
|
||||||
this._membersCount = 0;
|
this._membersCount = 0;
|
||||||
|
this._isFavorite = false;
|
||||||
this._createdAt = null;
|
this._createdAt = null;
|
||||||
this._isOwner = false;
|
this._isOwner = false;
|
||||||
this._isAdmin = false;
|
this._isAdmin = false;
|
||||||
@ -55,7 +57,7 @@ export class GroupInformationParser implements IMessageParser
|
|||||||
this._roomName = wrapper.readString();
|
this._roomName = wrapper.readString();
|
||||||
this._membershipType = wrapper.readInt();
|
this._membershipType = wrapper.readInt();
|
||||||
this._membersCount = wrapper.readInt();
|
this._membersCount = wrapper.readInt();
|
||||||
wrapper.readBoolean();
|
this._isFavorite = wrapper.readBoolean();
|
||||||
this._createdAt = wrapper.readString();
|
this._createdAt = wrapper.readString();
|
||||||
this._isOwner = wrapper.readBoolean();
|
this._isOwner = wrapper.readBoolean();
|
||||||
this._isAdmin = wrapper.readBoolean();
|
this._isAdmin = wrapper.readBoolean();
|
||||||
@ -112,6 +114,11 @@ export class GroupInformationParser implements IMessageParser
|
|||||||
return this._membersCount;
|
return this._membersCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get isFavorite(): boolean
|
||||||
|
{
|
||||||
|
return this._isFavorite;
|
||||||
|
}
|
||||||
|
|
||||||
public get createdAt(): string
|
public get createdAt(): string
|
||||||
{
|
{
|
||||||
return this._createdAt;
|
return this._createdAt;
|
||||||
|
Loading…
Reference in New Issue
Block a user