qteam

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Team

type Team struct {
	Name    qstring.QuakeString
	Players []qclient.Client
}

func FromPlayers

func FromPlayers(players []qclient.Client) []Team

func (Team) Colors

func (t Team) Colors() [2]uint8

func (Team) Frags

func (t Team) Frags() int

func (Team) MarshalJSON

func (t Team) MarshalJSON() ([]byte, error)

func (Team) String

func (t Team) String() string

type TeamExport

type TeamExport struct {
	Name      qstring.QuakeString
	NameColor string
	Frags     int
	Colors    [2]uint8
	Players   []qclient.Client
}

func Export

func Export(t Team) TeamExport

Jump to

Keyboard shortcuts

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