UNPKG

@gwigz/homunculus-core

Version:

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

52 lines (51 loc) 1.5 kB
/** * AvatarAnimation 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 { S32, UUID, Variable1 } from "../types"; import { type PacketMetadata } from "./packet"; export interface AvatarAnimationData { sender?: { id: string; }; animationList?: { animId: string; animSequenceId: number; }[]; animationSourceList?: { objectId: string; }[]; physicalAvatarEventList?: { typeData: string | Buffer; }[]; } export declare const avatarAnimationMetadata: { id: number; name: string; trusted: true; blocks: ({ name: string; parameters: [string, typeof UUID][]; multiple?: undefined; } | { name: string; parameters: ([string, typeof UUID] | [string, typeof S32])[]; multiple: true; } | { name: string; parameters: [string, typeof Variable1][]; multiple: true; })[]; }; export declare const avatarAnimation: (data: AvatarAnimationData, reliable?: boolean) => { data: AvatarAnimationData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createAvatarAnimationDelegate: (config: Omit<import("..").DelegateConfig<AvatarAnimationData>, "metadata">) => void;