labor

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

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

Go to latest
Published: Mar 22, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types []Type

Functions

This section is empty.

Types

type Type

type Type byte
const (
	Architect Type = iota
	BuildingLaborer
	Carpenter
	Mason
	MasterCarpenter
	MasterMason
	MasterShipwright
	MasterSmith
	Miner
	Shipwright
	Smith
)

func (Type) EnsureValid

func (t Type) EnsureValid() Type

func (Type) Key

func (t Type) Key() string

func (Type) MarshalText

func (t Type) MarshalText() ([]byte, error)

func (Type) MonthlyWage

func (t Type) MonthlyWage() fxp.Int

func (Type) Quality

func (t Type) Quality() quality.LaborQuality

func (Type) String

func (t Type) String() string

func (*Type) UnmarshalText

func (t *Type) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

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