champion

package
v0.0.0-...-447f9f6 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FilteredCharacters = []string{"tft", "tutorial", "trinket", "bw_", "cherry_", "durian_", "ha_", "hexgate", "item_", "kingporo", "nexus", "pet", "slime_", "sru_", "ultbook", "sruap_", "srx", "test", "practicetool_", "preseason_", "spellbook", "sr_infernal", "summonerbeacon"}

Functions

func RemoveNoise

func RemoveNoise(data []byte) []byte

Types

type Champion

type Champion struct {
	Name string
}

func (*Champion) CheckDownload

func (c *Champion) CheckDownload(dir string) error

func (*Champion) DownSaveLatest

func (c *Champion) DownSaveLatest(dir string, dirty bool, wg *sync.WaitGroup) error

func (*Champion) DownSaveMetaData

func (c *Champion) DownSaveMetaData(dir string, wg *sync.WaitGroup) error

func (*Champion) DownSavePBE

func (c *Champion) DownSavePBE(dir string, dirty bool, wg *sync.WaitGroup) error

func (*Champion) Download

func (c *Champion) Download(patch common.Patch, clean bool) ([]byte, error)

func (*Champion) Load

func (c *Champion) Load(dir string, p string) ([]byte, error)

func (*Champion) LoadAndDiff

func (c *Champion) LoadAndDiff(dir string) (map[string]interface{}, error)

func (Champion) SaveToFile

func (c Champion) SaveToFile(dir, fileName string, data []byte) error

type Strings

type Strings struct {
	Entries map[string]string `json:"entries"`
}

Jump to

Keyboard shortcuts

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