Example #1
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     SellType = reader.ReadByte();
     Options  = new HumanOption[reader.ReadShort()];
     for (var i = 0; i < Options.Length; i++)
     {
         (Options[i] = new HumanOption()).Deserialize(reader);
     }
 }
 public void Deserialize(IDataReader reader)
 {
     Restrictions = new ActorRestrictionsInformations();
     Restrictions.Deserialize(reader);
     Sex     = reader.ReadBoolean();
     Options = new HumanOption[reader.ReadShort()];
     for (var i = 0; i < Options.Length; i++)
     {
         (Options[i] = new HumanOption()).Deserialize(reader);
     }
 }