Added 1.19 Support # Login (missing-sig only)

This commit is contained in:
2022-06-13 15:49:55 +08:00
parent c891efac94
commit 8facb8cf1c
6 changed files with 112 additions and 14 deletions

View File

@ -2,13 +2,15 @@ package bot
import (
"github.com/Tnze/go-mc/net"
"github.com/Tnze/go-mc/yggdrasil/userApi"
"github.com/google/uuid"
)
// Client is used to access Minecraft server
type Client struct {
Conn *net.Conn
Auth Auth
Conn *net.Conn
Auth Auth
KeyPair userApi.KeyPairResp
Name string
UUID uuid.UUID