Tasharen Entertainment Forum
Support => TNet 3 Support => Topic started by: klept on February 28, 2013, 05:15:23 AM
Title:
No support for signed bytes?
Post by:
klept
on
February 28, 2013, 05:15:23 AM
Hey! I realized there is no support for signed bytes, I added these lines to the TNUnityTools.cs
Line
209
:
else
if
(
type
==
typeof
(
sbyte
)
)
{
sbyte
sb
=
(
sbyte
)
obj
;
bw
.
Write
(
'p'
)
;
bw
.
Write
(
sb
)
;
}
...........
Line
310
:
case
'p'
:
data
[
i
]
=
reader
.
ReadSByte
(
)
;
break
;
I think this could be a "bug", maybe you forgot to put them!
Title:
Re: No support for signed bytes?
Post by:
ArenMook
on
February 28, 2013, 01:23:22 PM
Can't say I've ever used them, which is the main reason I never added them. :)