Exemplo n.º 1
0
 public static MarketOffer Read(NReader rdr)
 {
     return(new MarketOffer
     {
         Price = rdr.ReadInt32(),
         Slot = ObjectSlot.Read(rdr)
     });
 }
Exemplo n.º 2
0
        public static ObjectSlot Read(NReader rdr)
        {
            ObjectSlot ret = new ObjectSlot
            {
                ObjectId   = rdr.ReadInt32(),
                SlotId     = rdr.ReadByte(),
                ObjectType = (ushort)rdr.ReadInt16()
            };

            return(ret);
        }