mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
#29 - PerformanceLogMessageComposer added
This commit is contained in:
parent
7857440d3e
commit
8e1ffb6d0a
File diff suppressed because one or more lines are too long
@ -457,4 +457,5 @@ export class OutgoingHeader
|
|||||||
public static RENTABLE_SPACE_CANCEL_RENT = 1667;
|
public static RENTABLE_SPACE_CANCEL_RENT = 1667;
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
@ -62,6 +62,7 @@ export * from './roomevents';
|
|||||||
export * from './roomsettings';
|
export * from './roomsettings';
|
||||||
export * from './sound';
|
export * from './sound';
|
||||||
export * from './talent';
|
export * from './talent';
|
||||||
|
export * from './tracking';
|
||||||
export * from './user';
|
export * from './user';
|
||||||
export * from './user/data';
|
export * from './user/data';
|
||||||
export * from './user/inventory';
|
export * from './user/inventory';
|
||||||
|
@ -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 @@
|
|||||||
|
export * from './PerformanceLogMessageComposer';
|
Loading…
Reference in New Issue
Block a user