internal

package
v0.0.0-...-e045a7f Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorldStateUrl = "http://content.warframe.com/dynamic/worldState.php"
	MissionNodes  = "https://raw.githubusercontent.com/WFCD/warframe-worldstate-data/master/data/solNodes.json"
)

Variables

View Source
var AcolyteNames = map[string]int{
	"Angst":    1,
	"Malice":   2,
	"Mania":    3,
	"Misery":   4,
	"Torment":  5,
	"Violence": 6,
}

Functions

func IntMillisToTime

func IntMillisToTime(ms int64) time.Time

IntMillisToTime converts milliseconds to time.Time instant

func StrMillisToTime

func StrMillisToTime(ms string) (time.Time, error)

MillisToTime converts string-milliseconds to time.TIme instant

Types

type Acolyte

type Acolyte struct {
	Name                   string
	Discovered             bool
	AgentType              string
	HealthPercent          float64
	LastDiscoveredTime     int64
	LastDiscoveredLocation Node
	Mods                   map[string]float64
	// contains filtered or unexported fields
}

Acolyte ...

func (*Acolyte) Notified

func (a *Acolyte) Notified() bool

type Node

type Node struct {
	Name        string `json:"value"`
	Enemy       string `json:"enemy"`
	MissionType string `json:"type"`
}

Node

type Timer

type Timer struct {
	// contains filtered or unexported fields
}

Timer

type Tracker

type Tracker struct {
	// contains filtered or unexported fields
}

Tracker ...

func NewTracker

func NewTracker(refresh uint, silent, notify bool) (*Tracker, error)

NewTracker creates a new instant of Tracker.

func (*Tracker) Run

func (t *Tracker) Run()

Run the tracker.

Jump to

Keyboard shortcuts

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