UNPKG

@gwigz/homunculus-core

Version:

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

62 lines (61 loc) 2.06 kB
/** * ObjectProperties 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 { S16, S32, U8, U32, U64, UUID, Variable1 } from "../types"; import { type PacketMetadata } from "./packet"; export interface ObjectPropertiesData { objectData?: { objectId: string; creatorId: string; ownerId: string; groupId: string; creationDate: number | bigint; baseMask: number; ownerMask: number; groupMask: number; everyoneMask: number; nextOwnerMask: number; ownershipCost: number; saleType: number; salePrice: number; aggregatePerms: number; aggregatePermTextures: number; aggregatePermTexturesOwner: number; category: number; inventorySerial: number; itemId: string; folderId: string; fromTaskId: string; lastOwnerId: string; name: string | Buffer; description: string | Buffer; touchName: string | Buffer; sitName: string | Buffer; textureId: string | Buffer; }[]; } export declare const objectPropertiesMetadata: { id: number; name: string; frequency: 1; trusted: true; compression: true; blocks: { name: string; parameters: ([string, typeof U32] | [string, typeof U8] | [string, typeof UUID] | [string, typeof Variable1] | [string, typeof U64] | [string, typeof S32] | [string, typeof S16])[]; multiple: true; }[]; }; export declare const objectProperties: (data: ObjectPropertiesData, reliable?: boolean) => { data: ObjectPropertiesData; reliable: boolean | undefined; metadata: PacketMetadata; }; export declare const createObjectPropertiesDelegate: (config: Omit<import("..").DelegateConfig<ObjectPropertiesData>, "metadata">) => void;