UNPKG

@gwigz/homunculus-core

Version:

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

49 lines (48 loc) 1.59 kB
/** * PickInfoReply 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 { Bool, S32, UUID, Variable1, Variable2, Vector3D } from "../types"; import { type PacketMetadata } from "./packet"; export interface PickInfoReplyData { agentData?: { agentId?: string; }; data?: { pickId: string; creatorId: string; topPick: boolean; parcelId: string; name: string | Buffer; desc: string | Buffer; snapshotId: string; user: string | Buffer; originalName: string | Buffer; simName: string | Buffer; posGlobal: Vector3D; sortOrder: number; enabled: boolean; }; } export declare const pickInfoReplyMetadata: { id: number; name: string; frequency: 2; trusted: true; blocks: { name: string; parameters: ([string, typeof UUID] | [string, typeof Variable1] | [string, typeof Bool] | [string, typeof S32] | [string, typeof Variable2] | [string, typeof Vector3D])[]; }[]; }; export declare const pickInfoReply: (data: PickInfoReplyData, reliable?: boolean) => { data: PickInfoReplyData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createPickInfoReplyDelegate: (config: Omit<import("..").DelegateConfig<PickInfoReplyData>, "metadata">) => void;