move player id to a separate package

Later, this package could hold stuff like MMR. It's just a type for now.
This commit is contained in:
2024-01-20 23:56:03 -06:00
parent a0608dac03
commit 18ba9fd568
2 changed files with 11 additions and 5 deletions

6
player/player.go Normal file
View File

@@ -0,0 +1,6 @@
// Package player implements data about players outside games.
package player
// ID is a unique ID for a player.
// May just be IPv6 (or IPv4-in-6) of their connection, or a UUID.
type ID [16]byte