Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options = []Option{ Total, BaseOnly, LevelsOnly, }
Options holds all possible values.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option byte
Option describes how a TraitModifier affects the point cost.
const LastOption Option = LevelsOnly
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.