model

package
v0.0.0-...-f67852a Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArenaRating

type ArenaRating struct {
	Type         string
	Rating       int
	SeasonPlayed int
	SeasonWon    int
	SeasonLost   int
}

type Character

type Character struct {
	Name        string
	Realm       string
	Class       string
	Region      string
	CharIcon    string
	ItemLvl     int
	Guild       string
	Items       []Item
	Specs       []Spec
	ArenaRating []ArenaRating
}

Character is a full description of a WoW character with items

type CharacterDuplicateError

type CharacterDuplicateError struct {
	S string
}

func (CharacterDuplicateError) Error

func (e CharacterDuplicateError) Error() string

type CharacterInfo

type CharacterInfo struct {
	Name     string
	Realm    string
	Region   string
	Class    string
	CharIcon string
	Guild    string
	ItemLvl  int
}

CharacterInfo is a short description of a WoW character, without items

type CharacterLimitError

type CharacterLimitError struct {
	S string
}

func (CharacterLimitError) Error

func (e CharacterLimitError) Error() string

type CharacterNotFound

type CharacterNotFound struct {
	S string
}

func (CharacterNotFound) Error

func (e CharacterNotFound) Error() string

type Item

type Item struct {
	Type           string
	Name           string
	ItemLvl        int
	IconURL        string
	DescriptionURL string `json:",omitempty"`
}

Item is a full description of a currently equipped item by type

type Spec

type Spec struct {
	Selected bool
	Name     string
	IconURL  string
	Order    int
	Talents  []Talent
}

type Spell

type Spell struct {
	ID             int
	Name           string
	IconURL        string
	Description    string
	DescriptionURL string
}

type Talent

type Talent struct {
	Tier  int
	Spell Spell
}

Jump to

Keyboard shortcuts

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