feat(auth): implement yggdrasil join endpoint
This commit is contained in:
@@ -67,3 +67,10 @@ type SessionProfileResponse struct {
|
||||
Name string `json:"name"`
|
||||
Properties []ProfileProperty `json:"properties"`
|
||||
}
|
||||
|
||||
// JoinRequest - это тело запроса на /sessionserver/session/minecraft/join
|
||||
type JoinRequest struct {
|
||||
AccessToken string `json:"accessToken"`
|
||||
SelectedProfile string `json:"selectedProfile"` // UUID пользователя без дефисов
|
||||
ServerID string `json:"serverId"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user