types

package
v0.0.0-...-b9cfb1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2019 License: GPL-3.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	Header    ChainHeader
	Payload   ChainPayload
	Signature string
}

type ChainDataKeys

type ChainDataKeys struct {
	RawChains []string `json:"chain"`
	Chains    []Chain
}

type ChainHeader

type ChainHeader struct {
	X5u string `json:"x5u"`
	Alg string `json:"alg"`

	Raw string
}

type ChainPayload

type ChainPayload struct {
	CertificateAuthority bool   `json:"certificateAuthority"`
	ExpirationTime       int64  `json:"exp"`
	IdentityPublicKey    string `json:"identityPublicKey"`
	NotBefore            int64  `json:"nbf"`
	RandomNonce          int    `json:"randomNonce"`
	Issuer               string `json:"iss"`
	IssuedAt             int64  `json:"iat"`

	Raw string
}

type ClientDataKeys

type ClientDataKeys struct {
	ClientRandomId   int    `json:"ClientRandomId"`
	ServerAddress    string `json:"ServerAddress"`
	LanguageCode     string `json:"LanguageCode"`
	SkinId           string `json:"SkinId"`
	SkinData         string `json:"SkinData"`
	CapeData         string `json:"CapeData"`
	GeometryId       string `json:"SkinGeometryName"`
	GeometryData     string `json:"SkinGeometry"`
	CurrentInputMode string `json:"CurrentInputMode"`
	DefaultInputMode string `json:"DefaultInputMode"`
	DeviceModel      string `json:"DeviceModel"`
	DeviceOS         int    `json:"DeviceOS"`
	GameVersion      string `json:"GameVersion"`
	GuiScale         int    `json:"GuiScale"`
	UIProfile        int    `json:"UIProfile"`
	ThirdPartyName   string `json:"ThirdPartyName"`
}

type GameRuleEntry

type GameRuleEntry struct {
	Name  string
	Value interface{}
}

type PlayerListEntry

type PlayerListEntry struct {
	UUID           uuid.UUID
	XUID           string
	EntityUniqueId int64
	Username       string
	DisplayName    string
	Platform       int32
	SkinId         string
	SkinData       []byte
	CapeData       []byte
	GeometryName   string
	GeometryData   string
}

type ResourcePackInfoEntry

type ResourcePackInfoEntry struct {
	UUID     string
	Version  string
	PackSize int64
}

type ResourcePackStackEntry

type ResourcePackStackEntry struct {
	UUID    string
	Version string
}

type SessionData

type SessionData struct {
	ClientUUID     uuid.UUID
	ClientXUID     string
	ClientId       int
	ProtocolNumber int32
	GameVersion    string
	Language       string
	DeviceOS       int
}

type Text

type Text struct {
	Message               string
	SourceName            string
	SourceXUID            string
	PlatformChatId        string
	TextType              byte
	IsTranslation         bool
	TranslationParameters []string
}

type WebTokenKeys

type WebTokenKeys struct {
	ExtraData         map[string]interface{} `json:"extraData"`
	IdentityPublicKey string                 `json:"identityPublicKey"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL