Documentation
¶
Index ¶
- func AddNavGuide(shortcut string, name string) (*tview.TextView, int)
- func BoldText(text string) string
- func CreateGuide(hotkeys []*types.UnusableHotkey, displayPretext bool) *tview.Flex
- func CreateModal(title string, message string, c *types.SpelltextClient, onClose func()) *tview.Modal
- func GenerateErrorPage(c *types.SpelltextClient, errorText string) tview.Primitive
- func GetDisplayStatsNpc(npc *pbRepo.Npc) *[]uint64
- func GetDisplayStatsPlayer(c *types.SpelltextClient) *[]uint64
- func GetFullItemName(item *pbRepo.Item) string
- func GetFullNpcName(npc *pbRepo.Npc) string
- func GetItemName(item *pbRepo.Item) string
- func GetItemStats(item *pbRepo.Item) string
- func PaintText(color string, text string) string
- func PrintNpcDetails(npc *pbRepo.Npc) string
- func STNewFlex() *tview.Flex
- func ToColorTag(color string) string
- func UpdateCharacter(old *pbRepo.Character, new *pbRepo.Character, c *types.SpelltextClient)
- func UpdateCharacterFunc(char *pbRepo.Character, c *types.SpelltextClient, ...)
- func UpdateGold(tv *tview.TextView, format string, delta int64, c *types.SpelltextClient) *tview.TextView
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGuide ¶
func CreateGuide(hotkeys []*types.UnusableHotkey, displayPretext bool) *tview.Flex
func CreateModal ¶
func GenerateErrorPage ¶
func GenerateErrorPage(c *types.SpelltextClient, errorText string) tview.Primitive
func GetDisplayStatsNpc ¶
func GetDisplayStatsPlayer ¶
func GetDisplayStatsPlayer(c *types.SpelltextClient) *[]uint64
func GetFullItemName ¶
func GetFullNpcName ¶
func GetItemName ¶
func GetItemStats ¶
func PrintNpcDetails ¶
func ToColorTag ¶
func UpdateCharacter ¶
func UpdateCharacterFunc ¶
func UpdateGold ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.