SocketIOClient-Unreal icon indicating copy to clipboard operation
SocketIOClient-Unreal copied to clipboard

Get Bool field always returns false.

Open oandreassen opened this issue 9 years ago • 2 comments

image

If value is passed as { "isConnecting" : true }

GetBoolField returns false.

If the value is passed as a string instead { "isConnecting" : "true" }

then GetStringField returns "true" as expected.

oandreassen avatar Mar 22 '17 14:03 oandreassen

Interesting, I'll have a look at this when I'm back in a few days

getnamo avatar Mar 22 '17 20:03 getnamo

fixed in https://github.com/getnamo/socketio-client-ue4/releases/tag/0.5.2.

This one was a derp, left a boolean = false by default before linking it to the raw message pointer data as I started fleshing out the conversion utility class and then I totally forgot about booleans ¯\_(ツ)_/¯

getnamo avatar Apr 04 '17 06:04 getnamo