Crate bevy_mod_scripting_core

Crate bevy_mod_scripting_core 

Source
Expand description

Core functionality for the bevy_mod_scripting framework.

Contains language agnostic systems and types for handling scripting in bevy.

Modules§

commands
Commands for creating, updating and deleting scripts
config
Init only configuration and relevant types.
context
Traits and types for managing script contexts.
error
Errors that can occur when interacting with the scripting system
event
Event handlers and event types for scripting.
extractors
Systems which are used to extract the various resources and components used by BMS.
handler
Contains the logic for handling script callback events
pipeline
Everything to do with the script lifetime management pipeline
runtime
“Runtime” here refers to the execution evironment of scripts. This might be the VM executing bytecode or the interpreter executing source code. The important thing is that there is only one runtime which is used to execute all scripts of a particular type or context.
script
Script related types, functions and components
script_system
everything to do with dynamically added script systems

Macros§

callback_labels
Creates a set of callback labels
make_plugin_config_static
A macro to implement WithReadonlyConfiguration for a given plugin type using thread-local storage.

Structs§

BMSScriptingInfrastructurePlugin
A plugin defining shared settings between various scripting plugins It is necessary to register this plugin for any of them to work
ScriptingPlugin
Bevy plugin enabling scripting within the bevy mod scripting framework

Enums§

ScriptingSystemSet
Labels for various BMS systems

Traits§

ConfigureScriptPlugin
Utility trait for configuring all scripting plugins.
IntoScriptPluginParams
Types which act like scripting plugins, by selecting a context and runtime Each individual combination of context and runtime has specific infrastructure built for it and does not interact with other scripting plugins