Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharacterSheet ¶
type CharacterSheet struct {
PlayerName string
Class string
Level int
CurrentHP int
TotalHP int
Str int
Dex int
Con int
Int int
Wis int
Cha int
}
func (*CharacterSheet) String ¶
func (cs *CharacterSheet) String() string
type DNDBeyondJSON ¶
type DNDBeyondJSON struct {
ID int `json:id`
Name string `json:name`
BaseHitPoints int `json:baseHitPoints`
RemovedHitPoints int `json:removedHitPoints`
Stats []PlayerStats `json:stats`
Modifiers Modifiers `json:modifiers`
Classes []PlayerClass
}
type PlayerClass ¶
type PlayerClass struct {
Level int `json:level`
Definition PlayerClassDefinition `json:definition`
}
type PlayerClassDefinition ¶
type PlayerHandler ¶
type PlayerHandler struct {
// contains filtered or unexported fields
}
PlayerHandler implements the BaeSayHandler interface for player character sheets.
func NewPlayerHandler ¶
func NewPlayerHandler(playerIDs []int) *PlayerHandler
func (*PlayerHandler) SayWithBae ¶
type PlayerStats ¶
type SpellSlots ¶
Click to show internal directories.
Click to hide internal directories.