Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventActionCoreStart = iota EventActionCoreStop EventActionGameStart EventActionGameStop )
View Source
const ArcadeSystem = "Arcade"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventAction ¶
type NameMapping ¶
type Tracker ¶
type Tracker struct { Logger *service.Logger Config *config.UserConfig Db Db ActiveCore string ActiveSystem string ActiveSystemName string ActiveGame string ActiveGameName string ActiveGamePath string Events []EventAction CoreTimes map[string]CoreTime GameTimes map[string]GameTime NameMap []NameMapping // contains filtered or unexported fields }
func NewTracker ¶
func (*Tracker) LoadCore ¶
func (tr *Tracker) LoadCore()
LoadCore loads the current running core and set it as active.
func (*Tracker) LookupName ¶
func (tr *Tracker) LookupName(name string, game string) NameMapping
func (*Tracker) ReloadNameMap ¶
func (tr *Tracker) ReloadNameMap()
func (*Tracker) StartTicker ¶
StartTicker starts the thread for updating core/game play times.
Click to show internal directories.
Click to hide internal directories.