UNPKG

@gwigz/homunculus-core

Version:

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

55 lines (54 loc) 1.78 kB
/** * UpdateParcel 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, F32, U64, UUID, Variable1, Vector3 } from "../types"; import { type PacketMetadata } from "./packet"; export interface UpdateParcelData { parcelData?: { parcelId: string; regionHandle: number | bigint; ownerId: string; groupOwned: boolean; status: number; name: string | Buffer; description: string | Buffer; musicUrl: string | Buffer; regionX: number; regionY: number; actualArea: number; billableArea: number; showDir: boolean; isForSale: boolean; category: number; snapshotId: string; userLocation: Vector3; salePrice: number; authorizedBuyerId: string; allowPublish: boolean; maturePublish: boolean; }; } export declare const updateParcelMetadata: { id: number; name: string; frequency: 2; trusted: true; compression: true; blocks: { name: string; parameters: ([string, typeof UUID] | [string, typeof Vector3] | [string, typeof Variable1] | [string, typeof Bool] | [string, typeof F32] | [string, typeof U64])[]; }[]; }; export declare const updateParcel: (data: UpdateParcelData, reliable?: boolean) => { data: UpdateParcelData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createUpdateParcelDelegate: (config: Omit<import("..").DelegateConfig<UpdateParcelData>, "metadata">) => void;