According to http://docs2x.smartfoxserver.com/api-docs/csharp-doc/
Code: Select all
SFSObject.GetByteBut if we send -1 from server, we receive following exceptionReturns the element corresponding to the specified key as a signed byte (8 bits)
Maybe you can add SFSObject.GetSByte to return signed byte or fix GetByte so that it works as state in the document.OverflowException: Value is greater than Byte.MaxValue or less than Byte.MinValue
BTW, can we use SetByte on server and GetInt on client (or vice versa)? Is there any problems with that?
Thanks,
Hoang