draft/mlp/mlp.go

61 lines
1.4 KiB
Go
Raw Permalink Normal View History

2019-05-30 23:16:15 +00:00
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"
2019-08-26 14:00:59 +00:00
SetPromo SetID = "Promo"
2019-05-30 23:16:15 +00:00
)
2019-06-17 20:56:05 +00:00
// 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
)
2019-06-28 20:35:47 +00:00
var allSets = []SetID{
SetPremiere,
SetCanterlotNights,
SetRockNRave,
SetCelestialSolstice,
SetCrystalGames,
SetAbsoluteDiscord,
SetEquestrialOdysseys,
SetHighMagic,
SetMarksInTime,
SetDefendersOfEquestria,
SetSeaquestriaBeyond,
SetFriendsForever,
2019-08-26 14:00:59 +00:00
SetPromo,
2019-06-28 20:35:47 +00:00
}