mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-23 01:54:22 +00:00
Remove unnecessary rarity aliases
This commit is contained in:
parent
bd30998ffb
commit
09a55bee68
1 changed files with 4 additions and 6 deletions
|
@ -9,20 +9,18 @@ use crate::schema::corebundle::CoreRarity;
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
|
||||||
pub enum CardRarity {
|
pub enum CardRarity {
|
||||||
/// The card has no rarity, as it probably is not collectible.
|
/// The card has no rarity, as it probably is not collectible.
|
||||||
#[serde(alias = "")]
|
|
||||||
#[serde(alias = "NONE")]
|
|
||||||
None,
|
None,
|
||||||
|
|
||||||
/// A common card.
|
/// A common card.
|
||||||
#[serde(alias = "COMMON")]
|
|
||||||
Common,
|
Common,
|
||||||
|
|
||||||
/// A rare card.
|
/// A rare card.
|
||||||
#[serde(alias = "RARE")]
|
|
||||||
Rare,
|
Rare,
|
||||||
|
|
||||||
/// An epic card.
|
/// An epic card.
|
||||||
#[serde(alias = "EPIC")]
|
|
||||||
Epic,
|
Epic,
|
||||||
|
|
||||||
/// A champion.
|
/// A champion.
|
||||||
#[serde(alias = "CHAMPION")]
|
|
||||||
Champion,
|
Champion,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue