Documentation
¶
Overview ¶
Package actionbuild derives one typed action catalog, editor schema and same-package invocation adapters from explicit game function declarations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidActions = errors.New("invalid authored actions")
Functions ¶
func CompileDocument ¶
CompileDocument validates YAML against the public editor schema and emits the bounded binary runtime document stored in the KLD.
Types ¶
type Declaration ¶
type Declaration struct {
ID string `toml:"id"`
Kind string `toml:"kind"`
Function string `toml:"function"`
Source string `toml:"source"`
Parameters []Parameter `toml:"parameters"`
}
func Discover ¶
func Discover(directory, module string) ([]Declaration, error)
Discover reads only confined game sources. Annotated functions must be top-level, non-generic functions with a typed ActionContext and bounded args.
Click to show internal directories.
Click to hide internal directories.