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
62 lines (49 loc) • 1.39 kB
text/typescript
export { Schema } from "./Schema";
export type { DataChange } from "./Schema";
import { MapSchema } from "./types/MapSchema"
export { MapSchema };
import { ArraySchema } from "./types/ArraySchema";
export { ArraySchema };
import { CollectionSchema } from "./types/CollectionSchema";
export { CollectionSchema };
import { SetSchema } from "./types/SetSchema";
export { SetSchema };
import { registerType } from "./types/typeRegistry";
export { registerType };
registerType("map", { constructor: MapSchema });
registerType("array", { constructor: ArraySchema });
registerType("set", { constructor: SetSchema });
registerType("collection", { constructor: CollectionSchema, });
// Utils
export { dumpChanges } from "./utils";
// Encoder / Decoder
export type { Iterator } from "./encoding/decode";
import * as encode from "./encoding/encode";
import * as decode from "./encoding/decode";
export { encode, decode };
// Reflection
export {
Reflection,
ReflectionType,
ReflectionField,
} from "./Reflection";
export {
// Annotations
type,
deprecated,
filter,
filterChildren,
defineTypes,
hasFilter,
// Internals
SchemaDefinition,
Context,
} from "./annotations";
// Annotation types
export type {
DefinitionType,
PrimitiveType,
Definition,
FilterCallback,
} from "./annotations";
export { OPERATION } from "./spec";