示例#1
0
 public void updateGEProgress(GEItem offer)
 {
     connection.SendPacket(new PacketBuilder().setId(116)
                           .addByte((byte)offer.getSlot())
                           .addByte((byte)offer.getProgress())
                           .addUShort(offer.getDisplayItem())
                           .addInt(offer.getPriceEach())
                           .addInt(offer.getTotalAmount())
                           .addInt(offer.getAmountTraded())
                           .addInt(offer.getTotalAmount() * offer.getPriceEach()).toPacket());
 }