army

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// USMC United States Marines Corps
	USMC uint8 = 0
	// MEC Middle Eastern Collation
	MEC uint8 = 1
	// PLA Peoples Liberation Army
	PLA uint8 = 2
	// NavySeals United States Navy Seals
	NavySeals uint8 = 3
	// SAS British Special Air Service
	SAS uint8 = 4
	// Spetznas Russian SPETZNAS
	Spetznas uint8 = 5
	// MECSF MEC Special Forces
	MECSF uint8 = 6
	// Rebels Rebel Forces
	Rebels uint8 = 7
	// Insurgents Insurgent Forces
	Insurgents uint8 = 8
	// EU European Union
	EU uint8 = 9
)

Variables

Functions

This section is empty.

Types

type ArmyRef

type ArmyRef struct {
	ID uint8
}

type PlayerRef

type PlayerRef struct {
	ID uint32
}

type Record

type Record struct {
	Player          PlayerRef
	Army            ArmyRef
	Time            uint32
	Wins            uint16
	Losses          uint16
	Score           int
	BestRoundScore  int16
	WorstRoundScore int16
	BestRounds      int16
}

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