UNPKG

@gwigz/homunculus-core

Version:

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

70 lines (69 loc) 2.21 kB
/** * SimulatorPresentAtLocation 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, IP, Port, U8, U32, UUID, Variable1, Vector3 } from "../types"; import { type PacketMetadata } from "./packet"; export interface SimulatorPresentAtLocationData { simulatorPublicHostBlock?: { port: Port; simulatorIp: IP; gridX: number; gridY: number; }; neighborBlock?: { ip: IP; port: Port; }[]; simulatorBlock?: { simName: string | Buffer; simAccess: number; regionFlags: number; regionId: string; estateId: number; parentEstateId: number; }; telehubBlock?: { hasTelehub: boolean; telehubPos: Vector3; }[]; } export declare const simulatorPresentAtLocationMetadata: { id: number; name: string; frequency: 2; trusted: true; blocks: ({ name: string; parameters: ([string, typeof U32] | [string, typeof IP] | [string, typeof Port])[]; multiple?: undefined; size?: undefined; } | { name: string; parameters: ([string, typeof IP] | [string, typeof Port])[]; multiple: true; size: number; } | { name: string; parameters: ([string, typeof U32] | [string, typeof U8] | [string, typeof UUID] | [string, typeof Variable1])[]; multiple?: undefined; size?: undefined; } | { name: string; parameters: ([string, typeof Vector3] | [string, typeof Bool])[]; multiple: true; size?: undefined; })[]; }; export declare const simulatorPresentAtLocation: (data: SimulatorPresentAtLocationData, reliable?: boolean) => { data: SimulatorPresentAtLocationData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createSimulatorPresentAtLocationDelegate: (config: Omit<import("..").DelegateConfig<SimulatorPresentAtLocationData>, "metadata">) => void;