ports

package
v0.0.0-...-0d78db7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Messenger

type Messenger interface {
	Message(p *player.Player, s string)
}

type PlayerHelper

type PlayerHelper interface {
	ActivateClass(*player.Player, class.Class)
	FindPlayerByName(*world.Tx, string) (*player.Player, bool)
}

type TeamRepository

type TeamRepository interface {
	FindByMemberName(name string) (model.Team, bool)
	FindByName(name string) (model.Team, bool)
	FindAll() []model.Team
	Save(model.Team)
}

type UserRepository

type UserRepository interface {
	FindByName(name string) (model.User, bool)
	FindAll() []model.User
	Save(model.User)
}

Jump to

Keyboard shortcuts

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