met

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type METData

type METData struct {
	XMLName      xml.Name            `xml:"met"`
	Info         METInfo             `xml:"info"`
	PreCrawford  PreCrawfordTable    `xml:"pre-crawford-table"`
	PostCrawford []PostCrawfordTable `xml:"post-crawford-table"`
}

type METInfo

type METInfo struct {
	XMLName     xml.Name `xml:"info"`
	Name        string   `xml:"name"`        /* Name of match equity table */
	Description string   `xml:"description"` /* Description of met */
	Length      int      `xml:"length"`      /* native length of met, -1 : pure calculated table */
	FileName    string   /* File name of met */
}

type METParameters

type METParameters struct {
	XMLName    xml.Name `xml:"parameters"`
	Parameters []struct {
		Name  string  `xml:"name,attr"`
		Value float32 `xml:",chardata"`
	} `xml:"parameter"`
	Name string
}

type PostCrawfordTable

type PostCrawfordTable struct {
	XMLName xml.Name `xml:"post-crawford-table"`
	Type    string   `xml:"type,attr"`
	Player  string   `xml:"player,attr"`
	Row     struct {
		ME []float32 `xml:"me"`
	} `xml:"row"`
	Parameters METParameters `xml:"parameters"`
}

type PreCrawfordTable

type PreCrawfordTable struct {
	XMLName xml.Name `xml:"pre-crawford-table"`
	Type    string   `xml:"type,attr"`
	Rows    []struct {
		ME []float32 `xml:"me"`
	} `xml:"row"`
	Parameters METParameters `xml:"parameters"`
}

Jump to

Keyboard shortcuts

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