@gwigz/homunculus-core
Version:
A third-party framework for interacting with Linden Lab's virtual world "Second Life"
59 lines (58 loc) • 1.68 kB
TypeScript
/**
* PlacesReply 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 PlacesReplyData {
agentData: {
agentId?: string;
queryId: string;
};
transactionData?: {
transactionId: string;
};
queryData?: {
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;
price: number;
}[];
}
export declare const placesReplyMetadata: {
id: number;
name: string;
frequency: 2;
trusted: true;
compression: true;
blocks: ({
name: string;
parameters: [string, typeof UUID][];
multiple?: undefined;
} | {
name: string;
parameters: ([string, typeof UUID] | [string, typeof Variable1] | [string, typeof F32])[];
multiple: true;
})[];
};
export declare const placesReply: (data: PlacesReplyData, reliable?: boolean) => {
data: PlacesReplyData;
reliable: boolean | undefined;
metadata: PacketMetadata;
};
export declare const createPlacesReplyDelegate: (config: Omit<import("..").DelegateConfig<PlacesReplyData>, "metadata">) => void;