pub struct Underworld {
pub buildings: EnumMap<UnderworldBuildingType, UnderworldBuilding>,
pub units: EnumMap<UnderworldUnitType, UnderworldUnit>,
pub production: EnumMap<UnderworldResourceType, UnderworldProduction>,
pub last_collectable_update: Option<DateTime<Local>>,
pub souls_current: u64,
pub souls_limit: u64,
pub upgrade_building: Option<UnderworldBuildingType>,
pub upgrade_finish: Option<DateTime<Local>>,
pub upgrade_begin: Option<DateTime<Local>>,
pub honor: u16,
pub lured_today: u16,
}Expand description
The information about a characters underworld
Fields§
§buildings: EnumMap<UnderworldBuildingType, UnderworldBuilding>All the buildings, that the underworld can have. If they are not yet build, they are level 0
units: EnumMap<UnderworldUnitType, UnderworldUnit>Information about all the buildable units in the underworld
production: EnumMap<UnderworldResourceType, UnderworldProduction>All information about the production of resources in the underworld
last_collectable_update: Option<DateTime<Local>>The last_collectable value in UnderworldProduction is always out of
date. Refer to the Fortress.last_collectable_updated for more
information
souls_current: u64The current souls in the underworld
souls_limit: u64The maximum amount of souls, that you can store in the underworld. If
current == limit, you will not be able to collect resources from
the building
upgrade_building: Option<UnderworldBuildingType>The building, that is currently being upgraded
upgrade_finish: Option<DateTime<Local>>The time at which the upgrade is finished
upgrade_begin: Option<DateTime<Local>>The time the building upgrade began
honor: u16The combined level of all buildings in the underworld, which is equivalent to honor
lured_today: u16The amount of players, that have been lured into the underworld today
Trait Implementations§
Source§impl Clone for Underworld
impl Clone for Underworld
Source§fn clone(&self) -> Underworld
fn clone(&self) -> Underworld
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more