Exemplo n.º 1
0
 public override void Read(Library.Collections.BitStream stream, out UInt32 value, MySerializeInfo info)
 {
     if (info.IsVariant || info.IsVariantSigned)
     {
         value = stream.ReadUInt32Variant();
     }
     else
     {
         value = stream.ReadUInt32();
     }
 }
Exemplo n.º 2
0
 public override void Read(Library.Collections.BitStream stream, out Color value, MySerializeInfo info)
 {
     value.PackedValue = stream.ReadUInt32();
 }