UNPKG

@gwigz/homunculus-core

Version:

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

41 lines (40 loc) 1.37 kB
/** * TeleportFinish 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 { IP, Port, U8, U32, U64, Variable2 } from "../types"; import { type PacketMetadata } from "./packet"; export interface TeleportFinishData { info?: { agentId: string; locationId: number; simIp: IP; simPort: Port; regionHandle: number | bigint; seedCapability: string | Buffer; simAccess: number; teleportFlags: number; }; } export declare const teleportFinishMetadata: { id: number; name: string; frequency: 2; trusted: true; blocks: { name: string; parameters: ([string, typeof U32] | [string, typeof U8] | [string, typeof IP] | [string, typeof Port] | [string, typeof U64] | [string, typeof Variable2])[]; }[]; }; export declare const teleportFinish: (data: TeleportFinishData, reliable?: boolean) => { data: TeleportFinishData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createTeleportFinishDelegate: (config: Omit<import("..").DelegateConfig<TeleportFinishData>, "metadata">) => void;