gamemode

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCTF

func IsCTF(gm ID) bool

func IsCapture

func IsCapture(gm ID) bool

func Valid

func Valid(gm ID) bool

Types

type ID

type ID int32
const (
	FFA ID = iota
	CoopEdit
	Teamplay
	Insta
	InstaTeam
	Effic // 5
	EfficTeam
	Tactics
	TacticsTeam
	Capture
	RegenCapture // 10
	CTF
	InstaCTF
	Protect
	InstaProtect
	Hold // 15
	InstaHold
	EfficCTF
	EfficProtect
	EfficHold
	Collect // 20
	InstaCollect
	EfficCollect
)
const Unknown ID = -1

func Parse

func Parse(s string) ID

func (ID) String

func (gm ID) String() string

Jump to

Keyboard shortcuts

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