summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@amftech.nl>2022-12-15 14:54:55 +0100
committerAldrik Ramaekers <aldrik@amftech.nl>2022-12-15 14:54:55 +0100
commit8c086739e1344fb8789e89074dd962c5719ab030 (patch)
tree86ae878cd5f90a82b7fee454e4adae69de542bb4 /include/protocol.h
parent7b956089e6ba5162fb0b667f1c0a60f6ece90c38 (diff)
local session id generation, bullet icon drop, refactor
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/protocol.h b/include/protocol.h
index aec65b4..f02e873 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -30,6 +30,7 @@ typedef struct t_protocol_generic_message
typedef struct t_protocol_get_id_upstream
{
network_message_type type;
+ u32 id;
} protocol_get_id_upstream;
typedef struct t_protocol_get_id_downstream
@@ -91,7 +92,7 @@ typedef struct t_protocol_user_shoot
#define MAX_NETWORK_BUFFER_SIZE 50000
u8 network_buffer[50000];
-network_message create_protocol_get_id_up();
+network_message create_protocol_get_id_up(u32 id);
network_message create_protocol_get_id_down(u32 id);
network_message create_protocol_user_list();
network_message create_protocol_user_moved(protocol_move_type move, u32 id);