Struct jokolink::cross_platform::cmltypes::CMumbleContext [−][src]
#[repr(C)]pub struct CMumbleContext {}Show fields
pub server_address: [u8; 28], pub map_id: u32, pub map_type: u32, pub shard_id: u32, pub instance: u32, pub build_id: u32, pub ui_state: u32, pub compass_width: u16, pub compass_height: u16, pub compass_rotation: f32, pub player_x: f32, pub player_y: f32, pub map_center_x: f32, pub map_center_y: f32, pub map_scale: f32, pub process_id: u32, pub mount_index: u8,
Expand description
The mumble context as stored inside the context field of CMumbleLink. the first 48 bytes Mumble uses for identification is upto build_id field the rest of the fields after build_id are provided by gw2 for addon devs.
Fields
server_address: [u8; 28]
first byte is 2
if ipv4. and [4..7]
bytes contain the ipv4 octets.
map_id: u32
map_type: u32
shard_id: u32
instance: u32
build_id: u32
ui_state: u32
compass_width: u16
compass_height: u16
compass_rotation: f32
player_x: f32
player_y: f32
map_center_x: f32
map_center_y: f32
map_scale: f32
process_id: u32
mount_index: u8
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CMumbleContext
impl Send for CMumbleContext
impl Sync for CMumbleContext
impl Unpin for CMumbleContext
impl UnwindSafe for CMumbleContext
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more