Skip to main content

HOOK_NAMES

Constant HOOK_NAMES 

Source
pub const HOOK_NAMES: &[&str];
Expand description

The hooks this build implements, as the function names a script defines.

The blueprint field and the Rhai function share a name on purpose: a blueprint saying on_stage_enter = "hooks.rhai" means “call fn on_stage_enter(ctx) in that file”, with nothing in between to look up.