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:
6
player/player.go
Normal file
6
player/player.go
Normal 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
|
Reference in New Issue
Block a user