mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Merge branch 'composer-tracking-performance-log' of https://github.com/oobjectt/nitro-renderer into oobjectt-composer-tracking-performance-log
This commit is contained in:
commit
8531512307
File diff suppressed because one or more lines are too long
@ -458,4 +458,6 @@ export class OutgoingHeader
|
||||
public static RENTABLE_SPACE_CANCEL_RENT = 1667;
|
||||
public static RENTABLE_SPACE_RENT = 2946;
|
||||
public static RENTABLE_SPACE_STATUS = 872;
|
||||
public static TRACKING_PERFORMANCE_LOG = 3230;
|
||||
public static TRACKING_LAG_WARNING_REPORT = 3847;
|
||||
}
|
||||
|
@ -62,6 +62,7 @@ export * from './roomevents';
|
||||
export * from './roomsettings';
|
||||
export * from './sound';
|
||||
export * from './talent';
|
||||
export * from './tracking';
|
||||
export * from './user';
|
||||
export * from './user/data';
|
||||
export * from './user/inventory';
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../api';
|
||||
|
||||
export class PerformanceLogMessageComposer implements IMessageComposer<ConstructorParameters<typeof PerformanceLogMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PerformanceLogMessageComposer>;
|
||||
|
||||
constructor(k: number, userAgent: string, flashVersion: string, operatingSystem: string, cpuArchitecture: string, isDebugger: boolean, totalMemory: number, _arg_8: number, gcCount: number, averageUpdateInterval: number, slowUpdateCount: number)
|
||||
{
|
||||
this._data = [k, userAgent, flashVersion, operatingSystem, cpuArchitecture, isDebugger, totalMemory, _arg_8, gcCount, averageUpdateInterval, slowUpdateCount];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
export * from './LagWarningReportMessageComposer';
|
||||
export * from './PerformanceLogMessageComposer';
|
Loading…
Reference in New Issue
Block a user