mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-23 15:47:45 +00:00
My old setup of throwing *all* of the IPC types and opcodes into *one* enum was becoming unbearable. Now that we have multiple things using the same opcodes (because they can overlap) I think it's time to repay this technical debt. This overhauls the structure of the project to move IPC structs into their own modules, and separate the opcode data/lists into separate ones depending on if it's clientbound and serverbound. Nothing has changed functionall, but this is going to make it way easier to add more IPC in the future.
10 lines
151 B
Rust
10 lines
151 B
Rust
pub mod ipc;
|
|
|
|
mod zone;
|
|
pub use zone::Zone;
|
|
|
|
mod chat_handler;
|
|
pub use chat_handler::ChatHandler;
|
|
|
|
mod connection;
|
|
pub use connection::ZoneConnection;
|