UNPKG

@gwigz/homunculus-core

Version:

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

45 lines (44 loc) 1.43 kB
/** * AvatarSitResponse 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, Quaternion, UUID, Vector3 } from "../types"; import { type PacketMetadata } from "./packet"; export interface AvatarSitResponseData { sitObject?: { id: string; }; sitTransform?: { autoPilot: boolean; sitPosition: Vector3; sitRotation: Quaternion; cameraEyeOffset: Vector3; cameraAtOffset: Vector3; forceMouselook: boolean; }; } export declare const avatarSitResponseMetadata: { id: number; name: string; trusted: true; compression: true; blocks: ({ name: string; parameters: [string, typeof UUID][]; } | { name: string; parameters: ([string, typeof Vector3] | [string, typeof Quaternion] | [string, typeof Bool])[]; })[]; }; export declare const avatarSitResponse: (data: AvatarSitResponseData, reliable?: boolean) => { data: AvatarSitResponseData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createAvatarSitResponseDelegate: (config: Omit<import("..").DelegateConfig<AvatarSitResponseData>, "metadata">) => void;