mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-22 11:58:21 -06:00
upd
This commit is contained in:
parent
1f5b5853b2
commit
6f45a0ee77
|
@ -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