internals

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2021 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LastFM *lastfm.Api

Functions

func AdvanceExperience

func AdvanceExperience(context *multiplexer.Context)

func ExpToLevel added in v1.9.1

func ExpToLevel(exp int) int

ExpToLevel calculates amount of levels from an experience integer.

func LevelToExp added in v1.9.1

func LevelToExp(level int) int

ExpToLevel calculates amount of experience from a level integer.

Types

type CharacterArt

type CharacterArt struct {
	ImageURL  string
	SourceURL string
	Character CharacterInfo
}

type CharacterInfo

type CharacterInfo struct {
	Color        int
	FriendlyName string
	SearchString string
}

func CharacterList

func CharacterList() []CharacterInfo

Jump to

Keyboard shortcuts

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