00001 #ifndef SELL_ITEM_HH_ 00002 # define SELL_ITEM_HH_ 00003 00004 # include "outgoing-packet.hh" 00005 # include "packets_fwd.hh" 00006 00007 namespace actions 00008 { 00009 class SellItem : public packets::OutgoingPacket 00010 { 00011 public: 00012 SellItem(int id); 00013 00014 const static int op = 0x0d; 00015 00016 void print_tag(std::ostream &os) const; 00017 void print_data(std::ostream &os) const; 00018 void process(packets::PacketVisitor &ph); 00019 00020 int get_item_id() const; 00021 00022 protected: 00023 int _item_id; 00024 }; 00025 } 00026 00027 #endif