pub struct IdleGame {
pub current_money: BigInt,
pub current_runes: BigInt,
pub resets: u32,
pub sacrifice_runes: BigInt,
pub merchant_new_goods: DateTime<Local>,
pub total_sacrificed: BigInt,
pub buildings: EnumMap<IdleBuildingType, IdleBuilding>,
/* private fields */
}
Expand description
The idle clicker game where you invest money and get runes by sacrificing
Fields§
§current_money: BigInt
The current amount of money the player
current_runes: BigInt
The current amount of runes the player
resets: u32
The amount of times the player reset their idle game
sacrifice_runes: BigInt
Runes you get, when you sacrifice
merchant_new_goods: DateTime<Local>
The time at which new items will be present in the shop
total_sacrificed: BigInt
I think this the total amount of money you have sacrificed, or the last plus X, or something related to that. I am not sure and I do not really care
buildings: EnumMap<IdleBuildingType, IdleBuilding>
Information about all the possible buildings
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IdleGame
impl<'de> Deserialize<'de> for IdleGame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IdleGame
impl RefUnwindSafe for IdleGame
impl Send for IdleGame
impl Sync for IdleGame
impl Unpin for IdleGame
impl UnwindSafe for IdleGame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more