Structs

The json structure of the Identity field inside Cmumblelink. the json string is null terminated and utf-16 encoded. so, need to use Widestring crate’s U16Cstring to first parse the bytes and then, convert to String before deserializing to CIdentity

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.

The CMumblelink is how it is represented in the memory. But we rarely use it as it is and instead convert it into MumbleLink before using it for convenience Many of the fields are documentad in the actual MumbleLink struct

As the CMumbleLink has all the fields multiple

The Uistate enum to represent what is happening in game

Enums

This is completely different from the api’s mount ids. so, its find to define this here

Race Enum that DOES NOT match the gw2 api endpoint ids

represents the ui scale set in settings -> graphics options -> interface size

Constants

The total size of the CMumbleLink struct. used to know the amount of memory to give to win32 call that creates the shared memory

This is how much of the CMumbleLink memory that is actually useful and updated. the rest is just zeroed out. might change in future