@gwigz/homunculus-core
Version:
A third-party framework for interacting with Linden Lab's virtual world "Second Life"
53 lines (52 loc) • 1.75 kB
TypeScript
/**
* GroupProfileReply 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, S32, U64, UUID, Variable1, Variable2 } from "../types";
import { type PacketMetadata } from "./packet";
export interface GroupProfileReplyData {
agentData?: {
agentId?: string;
};
groupData?: {
groupId: string;
name: string | Buffer;
charter: string | Buffer;
showInList: boolean;
memberTitle: string | Buffer;
powersMask: number | bigint;
insigniaId: string;
founderId: string;
membershipFee: number;
openEnrollment: boolean;
money: number;
groupMembershipCount: number;
groupRolesCount: number;
allowPublish: boolean;
maturePublish: boolean;
ownerRole: string;
};
}
export declare const groupProfileReplyMetadata: {
id: number;
name: string;
frequency: 2;
trusted: true;
compression: true;
blocks: {
name: string;
parameters: ([string, typeof UUID] | [string, typeof Variable1] | [string, typeof Bool] | [string, typeof U64] | [string, typeof S32] | [string, typeof Variable2])[];
}[];
};
export declare const groupProfileReply: (data: GroupProfileReplyData, reliable?: boolean) => {
data: GroupProfileReplyData;
reliable: boolean | undefined;
metadata: PacketMetadata;
};
export declare const createGroupProfileReplyDelegate: (config: Omit<import("..").DelegateConfig<GroupProfileReplyData>, "metadata">) => void;