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
Sync renderer safety push
This commit is contained in:
@@ -21,6 +21,7 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
private _objectId: number;
|
||||
private _message: string;
|
||||
private _chatType: number;
|
||||
private _chatColours: string;
|
||||
private _links: string[];
|
||||
private _extraParam: number;
|
||||
private _style: number;
|
||||
@@ -28,8 +29,11 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
private _prefixColor: string;
|
||||
private _prefixIcon: string;
|
||||
private _prefixEffect: string;
|
||||
private _prefixFont: string;
|
||||
private _nickIcon: string;
|
||||
private _displayOrder: string;
|
||||
|
||||
constructor(type: string, session: IRoomSession, objectId: number, message: string, chatType: number, style: number = 0, chatColours: string[], links: string[] = null, extraParam: number = -1, prefixText: string = '', prefixColor: string = '', prefixIcon: string = '', prefixEffect: string = '')
|
||||
constructor(type: string, session: IRoomSession, objectId: number, message: string, chatType: number, style: number = 0, chatColours: string = '', links: string[] = null, extraParam: number = -1, prefixText: string = '', prefixColor: string = '', prefixIcon: string = '', prefixEffect: string = '', prefixFont: string = '', nickIcon: string = '', displayOrder: string = 'icon-prefix-name')
|
||||
{
|
||||
super(type, session);
|
||||
|
||||
@@ -44,6 +48,9 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
this._prefixColor = prefixColor;
|
||||
this._prefixIcon = prefixIcon;
|
||||
this._prefixEffect = prefixEffect;
|
||||
this._prefixFont = prefixFont;
|
||||
this._nickIcon = nickIcon;
|
||||
this._displayOrder = displayOrder;
|
||||
}
|
||||
|
||||
public get objectId(): number
|
||||
@@ -76,7 +83,7 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
return this._style;
|
||||
}
|
||||
|
||||
public get chatColours(): string[]
|
||||
public get chatColours(): string
|
||||
{
|
||||
return this._chatColours;
|
||||
}
|
||||
@@ -100,4 +107,19 @@ export class RoomSessionChatEvent extends RoomSessionEvent
|
||||
{
|
||||
return this._prefixEffect;
|
||||
}
|
||||
|
||||
public get prefixFont(): string
|
||||
{
|
||||
return this._prefixFont;
|
||||
}
|
||||
|
||||
public get nickIcon(): string
|
||||
{
|
||||
return this._nickIcon;
|
||||
}
|
||||
|
||||
public get displayOrder(): string
|
||||
{
|
||||
return this._displayOrder;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user