v11

package
v0.0.0-...-5ce5ac0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractCancelInfos

func ExtractCancelInfos(pageHTML []byte, fnName string, tableIdx int) (token string, id, listID int64, err error)

Types

type Extractor

type Extractor struct {
	v104.Extractor
}

Extractor ...

func NewExtractor

func NewExtractor() *Extractor

NewExtractor ...

func (Extractor) ExtractCancelBuildingInfos

func (e Extractor) ExtractCancelBuildingInfos(pageHTML []byte) (token string, techID, listID int64, err error)

ExtractCancelBuildingInfos ...

func (Extractor) ExtractCancelLfBuildingInfos

func (e Extractor) ExtractCancelLfBuildingInfos(pageHTML []byte) (token string, id, listID int64, err error)

ExtractCancelLfBuildingInfos ...

func (Extractor) ExtractCancelResearchInfos

func (e Extractor) ExtractCancelResearchInfos(pageHTML []byte) (token string, techID, listID int64, err error)

ExtractCancelResearchInfos ...

func (*Extractor) ExtractJumpGate

func (e *Extractor) ExtractJumpGate(pageHTML []byte) (ogame.ShipsInfos, string, []ogame.MoonID, int64)

ExtractJumpGate return the available ships to send, form token, possible moon IDs and wait time (if any) given a jump gate popup html.

func (Extractor) ExtractLifeformTypeFromDoc

func (e Extractor) ExtractLifeformTypeFromDoc(doc *goquery.Document) ogame.LifeformType

ExtractLifeformTypeFromDoc ...

func (*Extractor) ExtractPreferencesFromDoc

func (e *Extractor) ExtractPreferencesFromDoc(doc *goquery.Document) ogame.Preferences

ExtractPreferencesFromDoc ...

func (Extractor) ExtractResourceSettings

func (e Extractor) ExtractResourceSettings(pageHTML []byte) (ogame.ResourceSettings, string, error)

ExtractResourceSettings ...

Jump to

Keyboard shortcuts

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