TypeRegistry

Registry of all supported schema types with their unique tag values.

This enum defines the complete set of schema types supported by the FateWeaver format. Each entry has a unique integer value that serves as the schema's tag in the binary format.

Stability: These tag values are part of the file format specification and must remain stable across versions to ensure backward compatibility.

Parameters

value

The unique integer tag for this schema type

Entries

Link copied to clipboard

Class-based schemas using reflection or custom encoding

Link copied to clipboard

32-bit signed integer schema

Link copied to clipboard

64-bit signed integer schema

Link copied to clipboard

64-bit IEEE 754 floating point schema

Link copied to clipboard

UTF-8 encoded string schema with length prefix

Link copied to clipboard

Single-byte boolean schema

Link copied to clipboard

Enumeration schema with ordinal encoding

Link copied to clipboard

Array schema for collections of homogeneous elements

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.