Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AllType holds all possible values. AllType = []Type{ List, Trait, Attribute, ContainedQuantity, ContainedWeight, Skill, Spell, } )
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type byte
Type holds the type of a Prereq.
const ( List Type = iota Trait Attribute ContainedQuantity ContainedWeight Skill Spell LastType = Spell )
Possible values.
func (Type) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Type) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Type) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.