pub struct WorldData {
pub time_of_day: Result<TimeOfDay, u32>,
pub map_id: u32,
pub map_type: Result<MapType, u32>,
pub ip_address: Ipv4Addr,
pub cursor: [f32; 3],
}Fields§
§time_of_day: Result<TimeOfDay, u32>Tyrian time of day.
map_id: u32Map id of current map.
map_type: Result<MapType, u32>Map type of current map.
ip_address: Ipv4AddrIP address of current server.
cursor: [f32; 3]Location of cursor in the game world as ingame coordinates.
Implementations§
Trait Implementations§
impl Copy for WorldData
Auto Trait Implementations§
impl Freeze for WorldData
impl RefUnwindSafe for WorldData
impl Send for WorldData
impl Sync for WorldData
impl Unpin for WorldData
impl UnwindSafe for WorldData
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