示例#1
0
 public override object ReadObject(Com.Bj58.Spat.Gaea.Serializer.Component.GaeaStream inStream, Type defType)
 {
     uint typeId = inStream.ReadUInt32();
     Type type = typeId.ToType();
     String value = Convert.ToString(SerializerFactory.GetSerializer(typeof(string)).ReadObject(inStream, typeof(string)));
     return Enum.Parse(type, value);
 }