Skip to content

DataField beta ​

Interface of @v12-engine/engine

ts
export interface DataField extends EditableField

A field as the editor shows it: everything said

Members ​

group ​

ts
group: string;

The heading the field is shown under in the editor, the first part of its path when EditableField.group is not said

kind ​

ts
kind: NonNullable<EditableField['kind']>;

How the field is edited, EditableField.kind with the guess made when the game did not say

name ​

ts
name: string;

The field's path in the definition (stats.health, cost.gold), as data.json nests it