From e37231630488e5b54741d68edc45890a62c5610d Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 17 Jun 2024 00:30:38 +0200 Subject: client connects and can speak proto --- server/src/protocol.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'server/src/protocol.rs') diff --git a/server/src/protocol.rs b/server/src/protocol.rs index 93d2afe9..dc2af7d6 100644 --- a/server/src/protocol.rs +++ b/server/src/protocol.rs @@ -21,6 +21,7 @@ pub enum PacketS { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "snake_case")] pub enum PacketC { + Joined { id: ID }, AddPlayer { id: ID, name: String }, RemovePlayer { id: ID }, Position { player: ID, pos: Vec2, rot: f32 }, -- cgit v1.2.3-70-g09d2