StrToPtr() had at least 4 extra allocations of byte[] and char[] arrays that will make Unity's GC and frametime stability sad, taking into account you can updated 5 times per 20 seconds, which is few frames apart.
Also, there was 0 reason to have that marshaling invoke overhead where it zeroes byte by byte in a loop. There is no point, we already overwrite whole memory via .Copy() and we only allocate as much as needed, no extra. No security concerns here.
* Choose pipe number on initialize
* Get pipe from base connection instance
* UE4 support
* Warnings as errors yelling
* Fix windows connection
* Oops all variables
* maybe this fixes it
* This one actually works!!!!
* Fix double function declaration
* Added staticEventHandler which forward the invoke to the actual eventHandler set though Initialize
* Code Formatting - Replaced abs with 4 white spaces
* Initial il2cpp support attempts
* Fix crashes
* Different variable name
* Fix indenting
* Change back unneeded stuff
- callbackCalls didnt seem to do anything
send-presence example updated - start a line with 'c' to toggle
whether presence information is sent or not.
Added ClearPresence to .cs bindings
Added ClearPresence to UE4 blueprint class.