Example #1
0
 public static decimal ReadDecimalConverter(this NetworkReader reader)
 {
     var converter = new UIntDecimal
     {
         longValue1 = reader.ReadUInt64(),
         longValue2 = reader.ReadUInt64()
     };
     return converter.decimalValue;
 }
Example #2
0
 public static double ReadDoubleConverter(this NetworkReader reader)
 {
     var converter = new UIntDouble
     {
         longValue = reader.ReadUInt64()
     };
     return converter.doubleValue;
 }
Example #3
0
 public static long ReadInt64(this NetworkReader reader) => (long)reader.ReadUInt64();