mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-24 04:48:21 -06:00
upd
This commit is contained in:
parent
fae78e32dd
commit
b855e57fae
|
@ -11,3 +11,4 @@ strum = { version = "0.24", features = ["derive"] }
|
|||
bincode = { version = "2.0.0-rc", default_features = false, features = ["std", "serde"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
bracket-noise = "0.8"
|
||||
#laminar = "0.5.0"
|
||||
|
|
|
@ -8,6 +8,8 @@ pub enum ClientToServerMessage {
|
|||
password: Option<String>,
|
||||
},
|
||||
PositionChanged {
|
||||
client_id: u8,
|
||||
secret: u32,
|
||||
position: Vec3,
|
||||
direction: Quat
|
||||
}
|
||||
|
@ -16,7 +18,8 @@ pub enum ClientToServerMessage {
|
|||
#[derive(Serialize, Deserialize)]
|
||||
pub enum ServerToClientMessage {
|
||||
ServerHello {
|
||||
client_id: u16,
|
||||
client_id: u8,
|
||||
secret: u32,
|
||||
},
|
||||
ServerFuckOff {
|
||||
reason: String,
|
||||
|
|
Loading…
Reference in a new issue