draft/mlp/mlp.go
Hamcha 69f54c08cc
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Add promo as set
2019-08-26 16:00:59 +02:00

60 lines
1.4 KiB
Go

package mlp
// Rarity denotes a card's rarity
type Rarity string
// All card rarities
const (
RarityCommon Rarity = "C"
RarityUncommon Rarity = "U"
RarityRare Rarity = "R"
RaritySuperRare Rarity = "SR"
RarityUltraRare Rarity = "UR"
RarityRoyalRare Rarity = "RR"
)
// SetID denotes a card's set
type SetID string
// All sets
const (
SetPremiere SetID = "PR"
SetCanterlotNights SetID = "CN"
SetRockNRave SetID = "RR"
SetCelestialSolstice SetID = "CS"
SetCrystalGames SetID = "CG"
SetAbsoluteDiscord SetID = "AD"
SetEquestrialOdysseys SetID = "EO"
SetHighMagic SetID = "HM"
SetMarksInTime SetID = "MT"
SetDefendersOfEquestria SetID = "DE"
SetSeaquestriaBeyond SetID = "SB"
SetFriendsForever SetID = "FF"
SetPromo SetID = "Promo"
)
// BlockID denotes a certain block
type BlockID string
// All blocks
const (
BlockPremiere BlockID = "PR" // Premiere block - PR/CN/CG/AD
BlockOdyssey BlockID = "EO" // Odyssey block - EO/HM/MT
BlockDefenders BlockID = "DE" // Defenders block - DE/SB/FF
)
var allSets = []SetID{
SetPremiere,
SetCanterlotNights,
SetRockNRave,
SetCelestialSolstice,
SetCrystalGames,
SetAbsoluteDiscord,
SetEquestrialOdysseys,
SetHighMagic,
SetMarksInTime,
SetDefendersOfEquestria,
SetSeaquestriaBeyond,
SetFriendsForever,
SetPromo,
}