LagWarningReportMessageComposer added

This commit is contained in:
oobjectt 2023-01-03 18:46:29 +01:00
parent 8e1ffb6d0a
commit 400d727da2
4 changed files with 25 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -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;
} }

View File

@ -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;
}
}

View File

@ -1 +1,2 @@
export * from './LagWarningReportMessageComposer';
export * from './PerformanceLogMessageComposer'; export * from './PerformanceLogMessageComposer';