Example #1
0
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     ObjectGID = (UInt16)reader.ReadVarShort();
     Effects   = new ObjectEffect[reader.ReadShort()];
     for (var i = 0; i < Effects.Length; i++)
     {
         (Effects[i] = new ObjectEffect()).Deserialize(reader);
     }
 }
 public new void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     ObjectGID = (UInt16)reader.ReadVarShort();
     Effects   = new ObjectEffect[reader.ReadShort()];
     for (var i = 0; i < Effects.Length; i++)
     {
         (Effects[i] = new ObjectEffect()).Deserialize(reader);
     }
     ObjectUID   = (UInt32)reader.ReadVarInt();
     Quantity    = (UInt32)reader.ReadVarInt();
     ObjectPrice = reader.ReadVarLong();
 }
Example #3
0
 public void Deserialize(IDataReader reader)
 {
     ObjectUID = (UInt32)reader.ReadVarInt();
     Effects   = new ObjectEffect[reader.ReadShort()];
     for (var i = 0; i < Effects.Length; i++)
     {
         (Effects[i] = new ObjectEffect()).Deserialize(reader);
     }
     Prices = new Int64[reader.ReadShort()];
     for (var i = 0; i < Prices.Length; i++)
     {
         Prices[i] = reader.ReadVarLong();
     }
 }