Documentation ¶
Index ¶
- func ExtractCancelInfos(pageHTML []byte, fnName string, tableIdx int) (token string, id, listID int64, err error)
- type Extractor
- func (e Extractor) ExtractCancelBuildingInfos(pageHTML []byte) (token string, techID, listID int64, err error)
- func (e Extractor) ExtractCancelLfBuildingInfos(pageHTML []byte) (token string, id, listID int64, err error)
- func (e Extractor) ExtractCancelResearchInfos(pageHTML []byte) (token string, techID, listID int64, err error)
- func (e *Extractor) ExtractJumpGate(pageHTML []byte) (ogame.ShipsInfos, string, []ogame.MoonID, int64)
- func (e Extractor) ExtractLifeformTypeFromDoc(doc *goquery.Document) ogame.LifeformType
- func (e *Extractor) ExtractPreferencesFromDoc(doc *goquery.Document) ogame.Preferences
- func (e Extractor) ExtractResourceSettings(pageHTML []byte) (ogame.ResourceSettings, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Extractor ¶
Extractor ...
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 ¶
ExtractResourceSettings ...
Click to show internal directories.
Click to hide internal directories.