dcl-npc-toolkit-ai-version
Version:
A collection of tools for creating Non-Player-Characters (NPCs). These are capable of having conversations with the player, and play different animations. AI usage is added atop of it
22 lines (21 loc) • 628 B
TypeScript
import { Schema } from "./Schema";
import { ArraySchema } from "./types/ArraySchema";
import { Iterator } from "./encoding/decode";
/**
* Reflection
*/
export declare class ReflectionField extends Schema {
name: string;
type: string;
referencedType: number;
}
export declare class ReflectionType extends Schema {
id: number;
fields: ArraySchema<ReflectionField>;
}
export declare class Reflection extends Schema {
types: ArraySchema<ReflectionType>;
rootType: number;
static encode(instance: Schema): number[];
static decode<T extends Schema = Schema>(bytes: number[], it?: Iterator): T;
}