pub struct GitFile {
pub area_properties: Option<GitAreaProperties>,
pub creatures: Vec<GitCreature>,
pub doors: Vec<GitDoor>,
pub encounters: Vec<GitEncounter>,
pub legacy_list: Vec<GffStruct>,
pub sounds: Vec<GitSound>,
pub stores: Vec<GitStore>,
pub triggers: Vec<GitTrigger>,
pub waypoints: Vec<GitWaypoint>,
pub placeables: Vec<GitPlaceable>,
}Expand description
Parsed area instance payload.
Each typed collection preserves the authored instance ordering for its
category. Where typed coverage is incomplete, the underlying raw GFF
structures remain available on the typed entries or through
GitFile::legacy_list.
§Examples
let git = nwnrs_git::GitFile::default();
assert!(git.creatures.is_empty());Fields§
§area_properties: Option<GitAreaProperties>Optional ambient/music settings for the area.
creatures: Vec<GitCreature>Placed creatures.
doors: Vec<GitDoor>Placed doors.
encounters: Vec<GitEncounter>Encounter volumes.
legacy_list: Vec<GffStruct>Raw legacy top-level List entries, preserved verbatim.
sounds: Vec<GitSound>Placed ambient or point sounds.
stores: Vec<GitStore>Placed stores.
triggers: Vec<GitTrigger>Trigger volumes.
waypoints: Vec<GitWaypoint>Placed waypoints.
placeables: Vec<GitPlaceable>Placed placeables.
Implementations§
Trait Implementations§
impl StructuralPartialEq for GitFile
Auto Trait Implementations§
impl Freeze for GitFile
impl RefUnwindSafe for GitFile
impl Send for GitFile
impl Sync for GitFile
impl Unpin for GitFile
impl UnsafeUnpin for GitFile
impl UnwindSafe for GitFile
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