pub struct GameMapCell {
pub entities: [Option<ObjId>; 2],
pub description: u32,
pub flags: [u8; 9],
pub value: u16,
pub bytes: [u8; 6],
}Expand description
One cell of the gameplay map, as the game state stores it (48 bytes in memory).
Original: FUN_14001b570.
Fields§
§entities: [Option<ObjId>; 2]Not identified yet.
description: u32The description at (reference id, u32::MAX when unset).
flags: [u8; 9]Bytes.
value: u16Not identified yet.
bytes: [u8; 6]Bytes; [1] is the cell type.
Trait Implementations§
Source§impl Clone for GameMapCell
impl Clone for GameMapCell
Source§fn clone(&self) -> GameMapCell
fn clone(&self) -> GameMapCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GameMapCell
impl Debug for GameMapCell
Source§impl Default for GameMapCell
impl Default for GameMapCell
Source§fn default() -> GameMapCell
fn default() -> GameMapCell
Returns the “default value” for a type. Read more
Source§impl PartialEq for GameMapCell
impl PartialEq for GameMapCell
impl StructuralPartialEq for GameMapCell
Auto Trait Implementations§
impl Freeze for GameMapCell
impl RefUnwindSafe for GameMapCell
impl Send for GameMapCell
impl Sync for GameMapCell
impl Unpin for GameMapCell
impl UnsafeUnpin for GameMapCell
impl UnwindSafe for GameMapCell
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