Beispiel #1
0
 public override void Write(Library.Collections.BitStream stream, ref UInt32 value, MySerializeInfo info)
 {
     if (info.IsVariant || info.IsVariantSigned)
     {
         stream.WriteVariant(value);
     }
     else
     {
         stream.WriteUInt32(value);
     }
 }
Beispiel #2
0
 public override void Write(Library.Collections.BitStream stream, ref Color value, MySerializeInfo info)
 {
     stream.WriteUInt32(value.PackedValue);
 }