Improved network code

This commit is contained in:
2024-01-15 17:08:26 +01:00
parent 9b47e374c7
commit b885d70625
17 changed files with 241 additions and 72 deletions

8
server/packet/types.go Normal file
View File

@ -0,0 +1,8 @@
package packet
const (
PING = 1
LOGIN = 2
LOGOUT = 3
MOVE = 10
)