Exemple #1
0
 public static MarketOffer Read(NReader rdr)
 {
     return(new MarketOffer
     {
         Price = rdr.ReadInt32(),
         Slot = ObjectSlot.Read(rdr)
     });
 }
Exemple #2
0
        public static ObjectSlot Read(Client psr, NReader rdr)
        {
            ObjectSlot ret = new ObjectSlot();

            ret.ObjectId   = rdr.ReadInt32();
            ret.SlotId     = rdr.ReadByte();
            ret.ObjectType = (ushort)rdr.ReadInt16();
            return(ret);
        }
        public static ObjectSlot Read(NReader rdr)
        {
            var ret = new ObjectSlot();

            ret.ObjectId   = rdr.ReadInt32();
            ret.SlotId     = rdr.ReadByte();
            ret.ObjectType = rdr.ReadInt16();
            return(ret);
        }