mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-23 08:00:51 +01:00
LagWarningReportMessageComposer added
This commit is contained in:
parent
8e1ffb6d0a
commit
400d727da2
File diff suppressed because one or more lines are too long
@ -458,4 +458,5 @@ export class OutgoingHeader
|
|||||||
public static RENTABLE_SPACE_RENT = 2946;
|
public static RENTABLE_SPACE_RENT = 2946;
|
||||||
public static RENTABLE_SPACE_STATUS = 872;
|
public static RENTABLE_SPACE_STATUS = 872;
|
||||||
public static TRACKING_PERFORMANCE_LOG = 3230;
|
public static TRACKING_PERFORMANCE_LOG = 3230;
|
||||||
|
public static TRACKING_LAG_WARNING_REPORT = 3847;
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,21 @@
|
|||||||
|
import { IMessageComposer } from '../../../../../api';
|
||||||
|
|
||||||
|
export class LagWarningReportMessageComposer implements IMessageComposer<ConstructorParameters<typeof LagWarningReportMessageComposer>>
|
||||||
|
{
|
||||||
|
private _data: ConstructorParameters<typeof LagWarningReportMessageComposer>;
|
||||||
|
|
||||||
|
constructor(warningCount: number)
|
||||||
|
{
|
||||||
|
this._data = [warningCount];
|
||||||
|
}
|
||||||
|
|
||||||
|
public getMessageArray()
|
||||||
|
{
|
||||||
|
return this._data;
|
||||||
|
}
|
||||||
|
|
||||||
|
public dispose(): void
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
export * from './LagWarningReportMessageComposer';
|
||||||
export * from './PerformanceLogMessageComposer';
|
export * from './PerformanceLogMessageComposer';
|
||||||
|
Loading…
Reference in New Issue
Block a user