pub struct Dungeons {
pub next_free_fight: Option<DateTime<Local>>,
pub light: EnumMap<LightDungeon, DungeonProgress>,
pub shadow: EnumMap<ShadowDungeon, DungeonProgress>,
pub portal: Option<Portal>,
pub companions: Option<EnumMap<CompanionClass, Companion>>,
}
Expand description
The information about all generic dungeons in the game. Information about special dungeons like the portal
Fields§
§next_free_fight: Option<DateTime<Local>>
The next time you can fight in the dungeons for free
light: EnumMap<LightDungeon, DungeonProgress>
All the light dungeons. Notably tower information is also in here
shadow: EnumMap<ShadowDungeon, DungeonProgress>
All the shadow dungeons. Notably twister & cont. loop of idols is also in here
portal: Option<Portal>
§companions: Option<EnumMap<CompanionClass, Companion>>
The companions unlocked from unlocking the tower. Note that the tower info itself is just handled as a normal light dungeon
Implementations§
Source§impl Dungeons
impl Dungeons
Sourcepub fn progress(&self, dungeon: impl Into<Dungeon>) -> DungeonProgress
pub fn progress(&self, dungeon: impl Into<Dungeon>) -> DungeonProgress
Returns the progress for that dungeon
Source§impl Dungeons
impl Dungeons
Sourcepub fn can_companion_equip(
&self,
companion: CompanionClass,
item: &Item,
) -> bool
pub fn can_companion_equip( &self, companion: CompanionClass, item: &Item, ) -> bool
Check if a specific companion can equip the given item
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Dungeons
impl<'de> Deserialize<'de> for Dungeons
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 Dungeons
impl RefUnwindSafe for Dungeons
impl Send for Dungeons
impl Sync for Dungeons
impl Unpin for Dungeons
impl UnwindSafe for Dungeons
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