#[repr(C)]pub struct RealTimeData {Show 23 fields
pub game_build: u32,
pub game_state: u32,
pub language: u32,
pub time_of_day: u32,
pub map_id: u32,
pub map_type: u32,
pub ip_address: [u8; 4],
pub cursor: [f32; 3],
pub squad_markers: [[f32; 3]; 8],
pub group_type: u32,
pub group_member_count: u32,
pub account_name: [c_char; 140],
pub character_name: [c_char; 140],
pub character_position: [f32; 3],
pub character_facing: [f32; 3],
pub profession: u32,
pub elite_specialization: u32,
pub mount_index: u32,
pub character_state: u32,
pub camera_position: [f32; 3],
pub camera_facing: [f32; 3],
pub camera_fov: f32,
pub is_action_camera: IsActionCam,
/* private fields */
}Fields§
§game_build: u32Game build number.
game_state: u32Current game state.
language: u32Language setting in game client.
time_of_day: u32Tyrian time of day.
map_id: u32Map id of current map.
map_type: u32Map type of current map.
ip_address: [u8; 4]IP address of current server.
cursor: [f32; 3]Location of cursor in the game world as ingame coordinates.
squad_markers: [[f32; 3]; 8]Locations of squad markers in the game world as ingame coordinates.
group_type: u32Type of current group.
group_member_count: u32Number of members in current group.
account_name: [c_char; 140]Account name of current player.
character_name: [c_char; 140]Character name of current player.
character_position: [f32; 3]Current position of character.
character_facing: [f32; 3]Current facing direction of character.
profession: u32Profession of character.
elite_specialization: u32Current 3rd specialization of character.
mount_index: u32Index of the mount, if applicable.
character_state: u32Current state of character.
camera_position: [f32; 3]Camera position in the game world.
camera_facing: [f32; 3]Camera facing direction.
camera_fov: f32Camera field of view.
is_action_camera: IsActionCamWhether action camera is enabled.
Implementations§
Trait Implementations§
Source§impl Clone for RealTimeData
impl Clone for RealTimeData
Source§fn clone(&self) -> RealTimeData
fn clone(&self) -> RealTimeData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RealTimeData
impl RefUnwindSafe for RealTimeData
impl Send for RealTimeData
impl Sync for RealTimeData
impl Unpin for RealTimeData
impl UnwindSafe for RealTimeData
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