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.
|
||||
#[non_exhaustive]
|
||||
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
|
||||
pub enum CardRegion {
|
||||
/// Noxus.
|
||||
Noxus,
|
||||
/// Demacia.
|
||||
Demacia,
|
||||
/// Freljord.
|
||||
Freljord,
|
||||
/// Shadow Isles.
|
||||
ShadowIsles,
|
||||
/// Targon.
|
||||
Targon,
|
||||
/// Ionia.
|
||||
Ionia,
|
||||
/// Shurima.
|
||||
Shurima,
|
||||
/// Piltover & Zaun.
|
||||
PiltoverZaun,
|
||||
/// Bandle City.
|
||||
BandleCity,
|
||||
|
||||
// I'm not sure what this region is for.
|
||||
/// Runeterra.
|
||||
Runeterra,
|
||||
|
||||
/// Origin: The Virtuoso.
|
||||
Jhin,
|
||||
/// Origin: Agony's Embrace.
|
||||
Evelynn,
|
||||
/// Origin: The Wandering Caretaker.
|
||||
Bard,
|
||||
|
||||
/// Unsupported region.
|
||||
#[serde(other)]
|
||||
Unsupported,
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue