login

package
v0.0.0-...-2964a09 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessEncryptionResponsePacket

func ProcessEncryptionResponsePacket(connection *networkplayer.PlayerConnection, p common.ClientPacket) error

func ProcessLoginAcknowledgedPacket

func ProcessLoginAcknowledgedPacket(connection *networkplayer.PlayerConnection, p common.ClientPacket) error

func ProcessLoginStartPacket

func ProcessLoginStartPacket(connection *networkplayer.PlayerConnection, p common.ClientPacket) error

Types

type EncryptionResponsePacket

type EncryptionResponsePacket struct {
	SharedSecretLength int
	SharedSecret       []byte
	VerifyTokenLength  int
	VerifyToken        []byte
}

func (*EncryptionResponsePacket) From

func (p *EncryptionResponsePacket) From(buffer network.Buffer) error

type LoginAcknowledgedPacket

type LoginAcknowledgedPacket struct {
}

func (*LoginAcknowledgedPacket) From

func (s *LoginAcknowledgedPacket) From(buffer network.Buffer) error

type LoginStartPacket

type LoginStartPacket struct {
	Name string
	UUID *uuid.UUID
}

func (*LoginStartPacket) From

func (p *LoginStartPacket) From(buffer network.Buffer) error

Jump to

Keyboard shortcuts

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