mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-23 07:37:46 +00:00
This is quite the architecture change, and I started working on the first Tokio actor tutorial I could find. This actually works though, and you can now chat between two characters on the server. The next steps are to clean up my mess, and send actors over the wire.
30 lines
550 B
Rust
30 lines
550 B
Rust
pub mod ipc;
|
|
|
|
mod zone;
|
|
pub use zone::Zone;
|
|
|
|
mod chat_handler;
|
|
pub use chat_handler::ChatHandler;
|
|
|
|
mod connection;
|
|
pub use connection::{
|
|
ClientHandle, ClientId, FromServer, PlayerData, ServerHandle, ToServer, ZoneConnection,
|
|
};
|
|
|
|
mod database;
|
|
pub use database::{CharacterData, WorldDatabase};
|
|
|
|
mod inventory;
|
|
pub use inventory::{EquippedContainer, Inventory, Item};
|
|
|
|
mod lua;
|
|
pub use lua::{EffectsBuilder, LuaPlayer};
|
|
|
|
mod event;
|
|
pub use event::Event;
|
|
|
|
mod actor;
|
|
pub use actor::Actor;
|
|
|
|
mod status_effects;
|
|
pub use status_effects::StatusEffects;
|