package
Version:
v0.0.0-...-18e7427
Opens a new window with list of versions in this module.
Published: Dec 10, 2023
License: MIT
Opens a new window with license information.
Imports: 22
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func VerifySignature(profilePubKey, signature []byte) bool
VerifySignature has the same functional as
net.minecraft.world.entity.player.ProfilePublicKey.Data#validateSignature
type Property struct {
Name, Value, Signature string
}
Resp is the response of authentication
Encrypt a connection, with authentication
Texture unmarshal the base64 encoded texture of Resp
type Texture struct {
TimeStamp int64 `json:"timestamp"`
ID uuid.UUID `json:"profileId"`
Name string `json:"profileName"`
Textures struct {
SKIN, CAPE struct {
URL string `json:"url"`
}
} `json:"textures"`
}
Texture includes player's skin and cape
Source Files
¶
Click to show internal directories.
Click to hide internal directories.