pub struct Map {Show 15 fields
pub id: MapId,
pub name: String,
pub min_level: u8,
pub max_level: u8,
pub default_floor: FloorId,
pub label_coord: Option<Coordinates>,
pub map_rect: MapRectangle,
pub continent_rect: ContinentRectangle,
pub points_of_interest: HashMap<PointOfInterestId, PointOfInterest>,
pub god_shrines: Option<Vec<GodShrine>>,
pub tasks: HashMap<TaskId, Task>,
pub skill_challenges: Vec<SkillChallenge>,
pub sectors: HashMap<SectorId, Sector>,
pub adventures: Vec<Adventure>,
pub mastery_points: Vec<MasteryPoint>,
}Fields§
§id: MapIdThe map id.
name: StringThe map name.
min_level: u8The minimum level on this map.
max_level: u8The maximum level on this map.
default_floor: FloorIdThe default floor of the map.
label_coord: Option<Coordinates>The coordinates of the map label.
map_rect: MapRectangleThe dimensions of the map.
continent_rect: ContinentRectangleThe dimensions of the map within the continent coordinate system.
points_of_interest: HashMap<PointOfInterestId, PointOfInterest>The list of points of interest (landmarks, waypoints, vistas, etc) of the map.
god_shrines: Option<Vec<GodShrine>>§tasks: HashMap<TaskId, Task>The list of renown hearts of the map.
skill_challenges: Vec<SkillChallenge>The list of hero challenges of the map.
sectors: HashMap<SectorId, Sector>The list of areas of the map.
adventures: Vec<Adventure>The list of adventures of the map.
mastery_points: Vec<MasteryPoint>The list of mastery points of the map.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Map
impl<'de> Deserialize<'de> for Map
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 Map
impl RefUnwindSafe for Map
impl Send for Map
impl Sync for Map
impl Unpin for Map
impl UnwindSafe for Map
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more