login

package
v0.0.0-...-054500a Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallProcessor

func CallProcessor(connection *networkplayer.PlayerConnection, packet common.ClientPacket) error

func ProcessEncryptionResponsePacket

func ProcessEncryptionResponsePacket(connection *networkplayer.PlayerConnection, packet *EncryptionResponsePacket) error

func ProcessLoginAcknowledgedPacket

func ProcessLoginAcknowledgedPacket(connection *networkplayer.PlayerConnection, packet *LoginAcknowledgedPacket) error

func ProcessLoginStartPacket

func ProcessLoginStartPacket(connection *networkplayer.PlayerConnection, packet *LoginStartPacket) 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