public static TradeItem Read(Client psr, NReader rdr) { TradeItem ret = new TradeItem(); ret.Item = rdr.ReadInt32(); ret.SlotType = rdr.ReadInt32(); ret.Tradeable = rdr.ReadBoolean(); ret.Included = rdr.ReadBoolean(); return(ret); }
public static TradeItem Read(NReader rdr) { var ret = new TradeItem(); ret.Item = rdr.ReadInt32(); ret.Data = ItemData.CreateData(rdr.ReadString()); ret.SlotType = rdr.ReadInt32(); ret.Tradeable = rdr.ReadBoolean(); ret.Included = rdr.ReadBoolean(); return(ret); }