kit

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AntiTank uint8 = 0
	Assault  uint8 = 1
	Engineer uint8 = 2
	Medic    uint8 = 3
	SpecOps  uint8 = 4
	Support  uint8 = 5
	Sniper   uint8 = 6
)

Variables

Functions

This section is empty.

Types

type KitRef

type KitRef struct {
	ID uint8
}

type PlayerRef

type PlayerRef struct {
	ID uint32
}

type Record

type Record struct {
	Player PlayerRef
	Kit    KitRef
	Time   uint32
	Score  int
	Kills  uint32
	Deaths uint32
}

type RecordRepository

type RecordRepository interface {
	FindByPlayerID(ctx context.Context, playerID uint32) ([]Record, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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