New server framework, an example, and compressed packet fixed.
This commit is contained in:
10
server/gameplay.go
Normal file
10
server/gameplay.go
Normal file
@ -0,0 +1,10 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"github.com/Tnze/go-mc/net"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type GamePlay interface {
|
||||
AcceptPlayer(name string, id uuid.UUID, protocol int32, conn *net.Conn)
|
||||
}
|
Reference in New Issue
Block a user