CodeDefinition beta
Interface of @v12-engine/editor
ts
export interface CodeDefinitionA thing a game's file defines, as the dev server found it: by id: 'footman' (id) or by a define*(…) call (define)
Members
kind
ts
kind: 'id' | 'define';How the file defines it: id for id: 'footman', define for a define*(…) call
line
ts
line: number;Counted from 1
name
ts
name: string;The name of the thing, as it is written in the file