booster

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoosterConfig

type BoosterConfig struct {
	Boosters    []BoosterPack           `json:"boosters"`
	TotalWeight int64                   `json:"boostersTotalWeight"`
	Name        string                  `json:"name"`
	Sheets      map[string]BoosterSheet `json:"sheets"`
}

type BoosterPack

type BoosterPack struct {
	Contents map[string]int `json:"contents"`
	Weight   int64          `json:"weight"`
}

type BoosterSheet

type BoosterSheet struct {
	AllowDuplicates bool           `json:"allowDuplicates"`
	BalanceColors   bool           `json:"balanceColors"`
	Cards           map[string]int `json:"cards"`
	Foil            bool           `json:"foil"`
	Fixed           bool           `json:"fixed"`
	TotalWeight     int64          `json:"totalWeight"`
}

Jump to

Keyboard shortcuts

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