You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
Added Color to the Renderer and Avatar update
This commit is contained in:
@@ -25,13 +25,14 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
private _extraParam: number;
|
||||
private _style: number;
|
||||
|
||||
constructor(type: string, session: IRoomSession, objectId: number, message: string, chatType: number, style: number = 0, links: string[] = null, extraParam: number = -1)
|
||||
constructor(type: string, session: IRoomSession, objectId: number, message: string, chatType: number, style: number = 0, chatColours: string[], links: string[] = null, extraParam: number = -1)
|
||||
{
|
||||
super(type, session);
|
||||
|
||||
this._objectId = objectId;
|
||||
this._message = message;
|
||||
this._chatType = chatType;
|
||||
this._chatColours = chatColours;
|
||||
this._links = links;
|
||||
this._extraParam = extraParam;
|
||||
this._style = style;
|
||||
@@ -66,4 +67,9 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
{
|
||||
return this._style;
|
||||
}
|
||||
|
||||
public get chatColours(): string[]
|
||||
{
|
||||
return this._chatColours;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user