Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options = []Option{ None, StrikingOnly, LiftingOnly, ThrowingOnly, }
Options holds all possible values.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option byte
Option holds a limitation for a Strength AttributeBonus.
const LastOption Option = ThrowingOnly
LastOption is the last valid value.
func ExtractOption ¶
ExtractOption extracts the value from a string.
func (Option) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Option) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Option) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.