Struct jokolink::mlink::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: u32map_type: u32shard_id: u32instance: u32build_id: u32ui_state: u32compass_width: u16compass_height: u16compass_rotation: f32player_x: f32player_y: f32map_center_x: f32map_center_y: f32map_scale: f32process_id: u32mount_index: u8

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.