[][src]Module sulis_state::script::script_callback

Structs

CallbackData

A callback that can be passed to various functions to be executed later. A single callback can hold multiple invocations by setting several different functions.

ScriptHitKind

ScriptHitKind stores the result of an attack for lua. Includes the hit kind and any damage.

TriggeredCallback

Enums

FuncKind

A type of callback function for a CallbackData object.

Traits

ScriptCallback

A trait representing a callback that will fire a script when called. In lua scripts, CallbackData is constructed to use this trait.

Functions

fire_cbs
fire_on_moved
fire_round_elapsed