UNPKG

@gwigz/homunculus-core

Version:

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

44 lines (43 loc) 1.44 kB
/** * SetStartLocationRequest 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 { U32, UUID, Variable1, Vector3 } from "../types"; import { type PacketMetadata } from "./packet"; export interface SetStartLocationRequestData { agentData?: { agentId?: string; sessionId?: string; }; startLocationData?: { simName: string | Buffer; locationId: number; locationPos: Vector3; locationLookAt: Vector3; }; } export declare const setStartLocationRequestMetadata: { id: number; name: string; frequency: 2; compression: true; blocks: ({ name: string; parameters: [string, typeof UUID][]; } | { name: string; parameters: ([string, typeof U32] | [string, typeof Vector3] | [string, typeof Variable1])[]; })[]; }; export declare const setStartLocationRequest: (data: SetStartLocationRequestData, reliable?: boolean) => { data: SetStartLocationRequestData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createSetStartLocationRequestDelegate: (config: Omit<import("..").DelegateConfig<SetStartLocationRequestData>, "metadata">) => void;