mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Improve CardRegion
with comments and a other variant
This commit is contained in:
parent
6f79c08662
commit
cc4b548b4a
1 changed files with 17 additions and 2 deletions
|
@ -87,25 +87,40 @@ impl Card {
|
||||||
|
|
||||||
|
|
||||||
/// Regions to which cards can belong to.
|
/// Regions to which cards can belong to.
|
||||||
#[non_exhaustive]
|
|
||||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||||
pub enum CardRegion {
|
pub enum CardRegion {
|
||||||
|
/// Noxus.
|
||||||
Noxus,
|
Noxus,
|
||||||
|
/// Demacia.
|
||||||
Demacia,
|
Demacia,
|
||||||
|
/// Freljord.
|
||||||
Freljord,
|
Freljord,
|
||||||
|
/// Shadow Isles.
|
||||||
ShadowIsles,
|
ShadowIsles,
|
||||||
|
/// Targon.
|
||||||
Targon,
|
Targon,
|
||||||
|
/// Ionia.
|
||||||
Ionia,
|
Ionia,
|
||||||
|
/// Shurima.
|
||||||
Shurima,
|
Shurima,
|
||||||
|
/// Piltover & Zaun.
|
||||||
PiltoverZaun,
|
PiltoverZaun,
|
||||||
|
/// Bandle City.
|
||||||
BandleCity,
|
BandleCity,
|
||||||
|
|
||||||
// I'm not sure what this region is for.
|
/// Runeterra.
|
||||||
Runeterra,
|
Runeterra,
|
||||||
|
|
||||||
|
/// Origin: The Virtuoso.
|
||||||
Jhin,
|
Jhin,
|
||||||
|
/// Origin: Agony's Embrace.
|
||||||
Evelynn,
|
Evelynn,
|
||||||
|
/// Origin: The Wandering Caretaker.
|
||||||
Bard,
|
Bard,
|
||||||
|
|
||||||
|
/// Unsupported region.
|
||||||
|
#[serde(other)]
|
||||||
|
Unsupported,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue