Added player identification

This commit is contained in:
2024-01-26 12:50:46 +01:00
parent 0172a81bdf
commit 2cd93f2a39
12 changed files with 153 additions and 73 deletions

View File

@ -6,8 +6,9 @@ enum Packet {
PING = 1,
LOGIN = 2,
LOGOUT = 3,
PLAYER_STATE = 10,
PLAYER_MOVE = 11,
PLAYER_ADD = 10,
PLAYER_REMOVE = 11,
PLAYER_MOVE = 12,
}
@export var packet_type: Packet