Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicDamage ¶
BasicDamage holds the data needed by the frontend to display the basic damage.
type Body ¶
type Body struct { Name string Locations []HitLocation }
Body holds the data needed by the frontend to display the Body section of a sheet.
type Description ¶
type Description struct { Gender string Age string Birthday string Religion string Height string Weight string SizeModifier string TechLevel string Hair string Eyes string Skin string Hand string }
Description holds the data needed by the frontend to display the description block.
type Encumbrance ¶
type Encumbrance struct { Current int MaxLoad [encumbrance.LastLevel + 1]string Move [encumbrance.LastLevel + 1]string Dodge [encumbrance.LastLevel + 1]string Overloaded bool }
Encumbrance holds the data needed by the frontend to display the Encumbrance section of a sheet.
type HitLocation ¶
type HitLocation struct { Roll string Location string LocationDetail string HitPenalty string DR string DRDetail string SubLocations []HitLocation }
HitLocation holds the data needed by the frontend to display the hit locations.
type LiftingAndMovingThings ¶
type LiftingAndMovingThings struct { BasicLift string OneHandedLift string TwoHandedLift string ShoveAndKnockOver string RunningShoveAndKnockOver string CarryOnBack string ShiftSlightly string }
LiftingAndMovingThings holds the data needed by the frontend to display the Lifting and Moving Things section of a sheet.
type PointPool ¶
type PointPool struct { Type string Key string Name string Value string Max string Points string State string Detail string }
PointPool holds the data needed by the frontend to display a point pool.
type Points ¶
type Points struct { Total string Unspent string Ancestry string Attributes string Advantages string Disadvantages string Quirks string Skills string Spells string }
Points holds the data needed by the frontend to display the points block.
type Sheet ¶
type Sheet struct { Identity Identity Misc Misc Description Description Points Points PrimaryAttributes []Attribute SecondaryAttributes []Attribute PointPools []PointPool BasicDamage BasicDamage Body Body Encumbrance Encumbrance LiftingAndMovingThings LiftingAndMovingThings Reactions *Table ConditionalModifiers *Table MeleeWeapons *Table RangedWeapons *Table Traits *Table Skills *Table Spells *Table CarriedEquipment *Table OtherEquipment *Table Notes *Table Portrait []byte PageRefs map[string]PageRef Modified bool ReadOnly bool }
Sheet holds the data needed by the frontend to display a GURPS character sheet.
type Table ¶
type Table struct { Columns []gurps.HeaderData Rows []Row }
Table holds the data needed by the frontend to display a table.