UNPKG

@gwigz/homunculus-core

Version:

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

52 lines (51 loc) 1.62 kB
/** * EventInfoReply 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, Variable2, Vector3D } from "../types"; import { type PacketMetadata } from "./packet"; export interface EventInfoReplyData { agentData?: { agentId?: string; }; eventData?: { eventId: number; creator: string | Buffer; name: string | Buffer; category: string | Buffer; desc: string | Buffer; date: string | Buffer; dateUtc: number; duration: number; cover: number; amount: number; simName: string | Buffer; globalPos: Vector3D; eventFlags: number; }; } export declare const eventInfoReplyMetadata: { id: number; name: string; frequency: 2; trusted: true; blocks: ({ name: string; parameters: [string, typeof UUID][]; } | { name: string; parameters: ([string, typeof U32] | [string, typeof Variable1] | [string, typeof Variable2] | [string, typeof Vector3D])[]; })[]; }; export declare const eventInfoReply: (data: EventInfoReplyData, reliable?: boolean) => { data: EventInfoReplyData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createEventInfoReplyDelegate: (config: Omit<import("..").DelegateConfig<EventInfoReplyData>, "metadata">) => void;