pub struct NavArea {Show 19 fields
pub id: NavAreaId,
pub flags: NavAreaFlags,
pub quad: NavQuad,
pub connections: Connections,
pub hiding_spots_count: u8,
pub hiding_spots: Vec<NavHidingSpot>,
pub approach_areas_count: u8,
pub approach_areas: Vec<ApproachArea>,
pub encounter_paths_count: u32,
pub encounter_paths: Vec<EncounterPath>,
pub place: u16,
pub ladder_connections: LadderConnections,
pub earliest_occupy_first_team: f32,
pub earliest_occupy_second_team: f32,
pub light_intensity: LightIntensity,
pub visible_areas_count: u32,
pub visible_areas: Vec<VisibleArea>,
pub inherit_visibility_from_area_id: u32,
pub padding: u32,
}
Expand description
A navigation area from the nav file
Fields§
§id: NavAreaId
§flags: NavAreaFlags
§quad: NavQuad
§connections: Connections
§hiding_spots_count: u8
§hiding_spots: Vec<NavHidingSpot>
§approach_areas_count: u8
§approach_areas: Vec<ApproachArea>
§encounter_paths_count: u32
§encounter_paths: Vec<EncounterPath>
§place: u16
§ladder_connections: LadderConnections
§earliest_occupy_first_team: f32
§earliest_occupy_second_team: f32
§light_intensity: LightIntensity
§visible_areas_count: u32
§visible_areas: Vec<VisibleArea>
§inherit_visibility_from_area_id: u32
§padding: u32
Trait Implementations§
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self
from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T
from the reader assuming native-endian byte order. Read moreSource§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self
from the reader, assuming big-endian byte order, using the
given arguments. Read moreAuto Trait Implementations§
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