Skip to main content

hook_context

Function hook_context 

Source
pub fn hook_context(call: &HookCall, limit: usize) -> String
Expand description

The context the hook injects: the island the cue activates, standing preferences first because they bear on what to do, then lessons. Empty when the pack holds nothing on it or does not answer; a hook that fails must not stop the runner, so this never errors.