Beispiel #1
0
        public static double ReadDouble(this NetworkReader reader)
        {
            UIntDouble converter = new UIntDouble();

            converter.longValue = reader.ReadUInt64();
            return(converter.doubleValue);
        }
Beispiel #2
0
        public double ReadDouble()
        {
            UIntDouble converter = new UIntDouble();

            converter.longValue = ReadUInt64();
            return(converter.doubleValue);
        }
Beispiel #3
0
        public void WriteDouble(double value)
        {
            UIntDouble converter = new UIntDouble
            {
                doubleValue = value
            };

            WriteUInt64(converter.longValue);
        }
Beispiel #4
0
        public static void WriteDouble(this NetworkWriter writer, double value)
        {
            UIntDouble converter = new UIntDouble
            {
                doubleValue = value
            };

            writer.WriteUInt64(converter.longValue);
        }