You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
Added Color to the Renderer and Avatar update
This commit is contained in:
@@ -7,6 +7,7 @@ export class RoomUnitChatParser implements IMessageParser
|
||||
private _gesture: number;
|
||||
private _bubble: number;
|
||||
private _urls: string[];
|
||||
private _chatColours: string;
|
||||
private _messageLength: number;
|
||||
|
||||
public flush(): boolean
|
||||
@@ -16,6 +17,7 @@ export class RoomUnitChatParser implements IMessageParser
|
||||
this._gesture = 0;
|
||||
this._bubble = 0;
|
||||
this._urls = [];
|
||||
this._chatColours = null;
|
||||
this._messageLength = 0;
|
||||
|
||||
return true;
|
||||
@@ -31,7 +33,8 @@ export class RoomUnitChatParser implements IMessageParser
|
||||
this._bubble = wrapper.readInt();
|
||||
|
||||
this.parseUrls(wrapper);
|
||||
|
||||
|
||||
this._chatColours = wrapper.readString();
|
||||
this._messageLength = wrapper.readInt();
|
||||
|
||||
return true;
|
||||
@@ -79,6 +82,11 @@ export class RoomUnitChatParser implements IMessageParser
|
||||
{
|
||||
return this._urls;
|
||||
}
|
||||
|
||||
public get chatColours(): string
|
||||
{
|
||||
return this._chatColours;
|
||||
}
|
||||
|
||||
public get messageLength(): number
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user