pub mod input;
use bincode::{Decode, Encode};
use input::InputEvent;
#[derive(Debug, Encode, Decode, Clone)]
pub enum ClientEvent {
Window { hwnd: u32, event: WindowEvent },
}
#[derive(Debug, Encode, Decode, Clone)]
pub enum WindowEvent {
Added { width: u32, height: u32 },
Resized { width: u32, height: u32 },
Input(InputEvent),
InputBlockingEnded,
Destroyed,
}