Packet descriptions
This commit is contained in:
39
lib/classes/packets/UserReportInternal.ts
Normal file
39
lib/classes/packets/UserReportInternal.ts
Normal file
@@ -0,0 +1,39 @@
|
||||
// This file has been automatically generated by writePacketClasses.js
|
||||
|
||||
import {UUID} from '../UUID';
|
||||
import {Vector3} from '../Vector3';
|
||||
import {MessageFlags} from '../../enums/MessageFlags';
|
||||
import {Packet} from '../Packet';
|
||||
|
||||
export class UserReportInternalPacket implements Packet
|
||||
{
|
||||
name = 'UserReportInternal';
|
||||
flags = MessageFlags.Trusted | MessageFlags.Zerocoded | MessageFlags.FrequencyLow;
|
||||
id = 4294901781;
|
||||
|
||||
ReportData: {
|
||||
ReportType: number;
|
||||
Category: number;
|
||||
ReporterID: UUID;
|
||||
ViewerPosition: Vector3;
|
||||
AgentPosition: Vector3;
|
||||
ScreenshotID: UUID;
|
||||
ObjectID: UUID;
|
||||
OwnerID: UUID;
|
||||
LastOwnerID: UUID;
|
||||
CreatorID: UUID;
|
||||
RegionID: UUID;
|
||||
AbuserID: UUID;
|
||||
AbuseRegionName: string;
|
||||
AbuseRegionID: UUID;
|
||||
Summary: string;
|
||||
Details: string;
|
||||
VersionString: string;
|
||||
};
|
||||
|
||||
getSize(): number
|
||||
{
|
||||
return (this.ReportData['AbuseRegionName'].length + 1 + this.ReportData['Summary'].length + 1 + this.ReportData['Details'].length + 2 + this.ReportData['VersionString'].length + 1) + 170;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user