UNPKG

@gwigz/homunculus-core

Version:

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

44 lines (43 loc) 1.48 kB
/** * AvatarPropertiesUpdate 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, UUID, Variable1, Variable2 } from "../types"; import { type PacketMetadata } from "./packet"; export interface AvatarPropertiesUpdateData { agentData?: { agentId?: string; sessionId?: string; }; propertiesData?: { imageId: string; fLImageId: string; aboutText: string | Buffer; fLAboutText: string | Buffer; allowPublish: boolean; maturePublish: boolean; profileUrl: string | Buffer; }; } export declare const avatarPropertiesUpdateMetadata: { id: number; name: string; frequency: 2; compression: true; blocks: { name: string; parameters: ([string, typeof UUID] | [string, typeof Variable1] | [string, typeof Bool] | [string, typeof Variable2])[]; }[]; }; export declare const avatarPropertiesUpdate: (data: AvatarPropertiesUpdateData, reliable?: boolean) => { data: AvatarPropertiesUpdateData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createAvatarPropertiesUpdateDelegate: (config: Omit<import("..").DelegateConfig<AvatarPropertiesUpdateData>, "metadata">) => void;