#29 - PerformanceLogMessageComposer added

This commit is contained in:
oobjectt 2023-01-03 18:36:22 +01:00
parent 7857440d3e
commit 8e1ffb6d0a
5 changed files with 28 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -457,4 +457,5 @@ 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;
}

View File

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

View File

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

View File

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