Beispiel #1
0
 public static void WriteLongNullable(this NetworkWriter writer, long?value)
 {
     writer.WriteBool(value.HasValue);
     if (value.HasValue)
     {
         writer.WriteLong(value.Value);
     }
 }
Beispiel #2
0
 public static void WriteInt64(this NetworkWriter writer, long value) => writer.WriteLong(value);