UNPKG

@gwigz/homunculus-core

Version:

A third-party framework for interacting with Linden Lab's virtual world "Second Life"

51 lines (50 loc) 1.71 kB
/** * UserReportInternal Packet * * This file is used to help our packet serialization and deserialization * process, and to create new packets on the fly. * * ⚠️ Do not edit this file manually, it is generated by the `codegen` script! * * @see {@link http://wiki.secondlife.com/wiki/Message_Layout} */ import { U8, UUID, Variable1, Variable2, Vector3 } from "../types"; import { type PacketMetadata } from "./packet"; export interface UserReportInternalData { reportData?: { reportType: number; category: number; reporterId: string; viewerPosition: Vector3; agentPosition: Vector3; screenshotId: string; objectId: string; ownerId: string; lastOwnerId: string; creatorId: string; regionId: string; abuserId: string; abuseRegionName: string | Buffer; abuseRegionId: string; summary: string | Buffer; details: string | Buffer; versionString: string | Buffer; }; } export declare const userReportInternalMetadata: { id: number; name: string; frequency: 2; trusted: true; compression: true; blocks: { name: string; parameters: ([string, typeof U8] | [string, typeof UUID] | [string, typeof Vector3] | [string, typeof Variable1] | [string, typeof Variable2])[]; }[]; }; export declare const userReportInternal: (data: UserReportInternalData, reliable?: boolean) => { data: UserReportInternalData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createUserReportInternalDelegate: (config: Omit<import("..").DelegateConfig<UserReportInternalData>, "metadata">) => void;