Crate ayaka_runtime
source ·Expand description
The runtime of Ayaka project.
This runtime provides the game config, running context, plugin system and settings system. It can be treated as the “backend” of the game engine.
Re-exports
pub use anyhow;
pub use ayaka_plugin::Linker;
pub use ayaka_plugin::RawModule;
pub use futures_util::StreamExt;
pub use futures_util::TryStreamExt;
pub use log;
pub use vfs;
pub use ayaka_bindings_types::*;
pub use ayaka_primitive::*;
pub use locale::*;
Modules
- The plugin utilities.
Macros
- A macro allowing for compile-time construction of valid [
Locale
]. Seeicu_locid::langid!
.
Structs
- The game running context.
- Builder of
Context
. - Builder of
Context
. - The full Ayaka game. It consists of global config and all paragraphs.
- The Ayaka config. It should be deserialized from a YAML file.
- The paragraph in a paragraph config.
- The plugin config.
Enums
- The open status when creating
Context
.
Functions
- Get the version of Ayaka runtime. This version string is exacted from
CARGO_PKG_VERSION
.