gid

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	All                 = "all"
	BasicMove           = "basic_move"
	BasicSpeed          = "basic_speed"
	Block               = "block"
	ConditionalModifier = "conditional_modifier"
	Dexterity           = "dx"
	Dodge               = "dodge"
	Equipment           = "equipment"
	EquipmentModifier   = "equipment_modifier"
	FatiguePoints       = "fp"
	FrightCheck         = "fright_check"
	Health              = "ht"
	Hearing             = "hearing"
	HitPoints           = "hp"
	Intelligence        = "iq"
	Note                = "note"
	Parry               = "parry"
	Perception          = "per"
	ReactionModifier    = "reaction_modifier"
	RitualMagicSpell    = "ritual_magic_spell"
	SizeModifier        = "sm"
	Skill               = "skill"
	Spell               = "spell"
	Strength            = "st"
	TasteSmell          = "taste_smell"
	Technique           = "technique"
	Ten                 = "10"
	Torso               = "torso"
	Touch               = "touch"
	Trait               = "trait"
	TraitModifier       = "trait_modifier"
	Vision              = "vision"
	Will                = "will"
)

Various commonly used IDs

View Source
const (
	// CurrentDataVersion holds the current version for data files written with the current release. Note that this is
	// intentionally the same for all data files that GCS processes. Ideally, this version:
	CurrentDataVersion = 4 // First version for the Go version of GCS
	// MinimumDataVersion holds the oldest version for data files that can be loaded. Note that this is intentionally
	// the same for all data files that GCS processes.
	MinimumDataVersion    = 2
	MinimumLibraryVersion = 3 // Note that as of the Go version of GCS, the data and library version are the same.
)

These version numbers are used both as the version of the data files written to disk as well as the major version number for GCS library compatibility checking. The Go release of GCS is the first release to synchronize the data version and the library major version.

Variables

View Source
var (
	InvalidFileDataMsg    = i18n.Text("Invalid file data.")
	UnexpectedFileDataMsg = i18n.Text("This file does not contain the expected data.")
)

Common messages

Functions

func CheckVersion

func CheckVersion(version int) error

CheckVersion returns an error if the data version is out of the acceptable range.

Types

This section is empty.

Jump to

Keyboard shortcuts

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