UNPKG

@gwigz/homunculus-core

Version:

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

46 lines (45 loc) 1.59 kB
/** * ClassifiedInfoUpdate 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 { S32, U8, U32, UUID, Variable1, Variable2, Vector3D } from "../types"; import { type PacketMetadata } from "./packet"; export interface ClassifiedInfoUpdateData { agentData?: { agentId?: string; sessionId?: string; }; data?: { classifiedId: string; category: number; name: string | Buffer; desc: string | Buffer; parcelId: string; parentEstate: number; snapshotId: string; posGlobal: Vector3D; classifiedFlags: number; priceForListing: number; }; } export declare const classifiedInfoUpdateMetadata: { id: number; name: string; frequency: 2; blocks: { name: string; parameters: ([string, typeof U32] | [string, typeof U8] | [string, typeof UUID] | [string, typeof Variable1] | [string, typeof S32] | [string, typeof Variable2] | [string, typeof Vector3D])[]; }[]; }; export declare const classifiedInfoUpdate: (data: ClassifiedInfoUpdateData, reliable?: boolean) => { data: ClassifiedInfoUpdateData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createClassifiedInfoUpdateDelegate: (config: Omit<import("..").DelegateConfig<ClassifiedInfoUpdateData>, "metadata">) => void;