lobby

package
v0.0.0-...-9519e4a Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAuthenticatedEvent int = 50
	UserLoggedOutEvent     int = 51
)

Variables

This section is empty.

Functions

func NewUserMessageHandler

func NewUserMessageHandler(_r *Registrar) *_UserMessageHandler

Types

type Registrar

type Registrar struct {
	// contains filtered or unexported fields
}

Structure holding information on current users in the system

func (*Registrar) Run

func (r *Registrar) Run()

Registrar loop

type UserDisconnectHandler

type UserDisconnectHandler struct {
	// contains filtered or unexported fields
}

This is a handle to determines what type of game message

func NewUserDisconnectHandler

func NewUserDisconnectHandler(_registrar *Registrar) *UserDisconnectHandler

func (*UserDisconnectHandler) HandleEvent

func (m *UserDisconnectHandler) HandleEvent(_event *eventgoround.Event)

func (*UserDisconnectHandler) Type

func (h *UserDisconnectHandler) Type() int

Jump to

Keyboard shortcuts

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