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:
@@ -69,14 +69,14 @@ export class RoomSession implements IRoomSession
|
||||
this._roomId = roomId;
|
||||
}
|
||||
|
||||
public sendChatMessage(text: string, styleId: number): void
|
||||
public sendChatMessage(text: string, styleId: number, chatColour: string): void
|
||||
{
|
||||
GetCommunication().connection.send(new RoomUnitChatComposer(text, styleId));
|
||||
GetCommunication().connection.send(new RoomUnitChatComposer(text, styleId, chatColour));
|
||||
}
|
||||
|
||||
public sendShoutMessage(text: string, styleId: number): void
|
||||
public sendShoutMessage(text: string, styleId: number, chatColour: string): void
|
||||
{
|
||||
GetCommunication().connection.send(new RoomUnitChatShoutComposer(text, styleId));
|
||||
GetCommunication().connection.send(new RoomUnitChatShoutComposer(text, styleId, chatColour));
|
||||
}
|
||||
|
||||
public sendWhisperMessage(recipientName: string, text: string, styleId: number): void
|
||||
@@ -126,6 +126,11 @@ export class RoomSession implements IRoomSession
|
||||
{
|
||||
GetCommunication().connection.send(new RoomAmbassadorAlertComposer(userId));
|
||||
}
|
||||
|
||||
public sendWhisperGroupMessage(userId: number): void
|
||||
{
|
||||
GetCommunication().connection.send(new ChatWhisperGroupComposer(userId));
|
||||
}
|
||||
|
||||
public sendKickMessage(userId: number): void
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user