Skip to main content

Module system

Module system 

Source
Expand description

System registration types for the plugin API.

These types allow plugins to register tick-based systems without depending on the ECS storage engine. The server provides a SystemContext implementation that wraps the real ECS.

Re-exports§

pub use crate::budget::TickBudget;
pub use crate::components::EntityId;
pub use crate::components::Phase;

Structs§

SystemAccess
Component access declaration for a system.
SystemBuilder
Builder for declaring a system’s metadata and component access.
SystemDescriptor
A registered system with its metadata.

Traits§

SystemContext
Abstract interface for system runners.
SystemContextExt
Typed convenience methods on SystemContext.
SystemRunner
Trait for system execution functions.