UNPKG

@gwigz/homunculus-core

Version:

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

52 lines (51 loc) 1.55 kB
/** * ParcelInfoReply 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 { F32, UUID, Variable1 } from "../types"; import { type PacketMetadata } from "./packet"; export interface ParcelInfoReplyData { agentData?: { agentId?: string; }; data?: { parcelId: string; ownerId: string; name: string | Buffer; desc: string | Buffer; actualArea: number; billableArea: number; flags: number; globalX: number; globalY: number; globalZ: number; simName: string | Buffer; snapshotId: string; dwell: number; salePrice: number; auctionId: number; }; } export declare const parcelInfoReplyMetadata: { id: number; name: string; frequency: 2; trusted: true; compression: true; blocks: { name: string; parameters: ([string, typeof UUID] | [string, typeof Variable1] | [string, typeof F32])[]; }[]; }; export declare const parcelInfoReply: (data: ParcelInfoReplyData, reliable?: boolean) => { data: ParcelInfoReplyData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createParcelInfoReplyDelegate: (config: Omit<import("..").DelegateConfig<ParcelInfoReplyData>, "metadata">) => void;