00001 #ifndef USE_SKILL_HH_ 00002 # define USE_SKILL_HH_ 00003 00004 # include "outgoing-packet.hh" 00005 # include "packets_fwd.hh" 00006 00007 namespace actions 00008 { 00009 class UseSkill : public packets::OutgoingPacket 00010 { 00011 public: 00012 UseSkill(int skill_id, int character_id); 00013 00014 const static int op = 0x25; 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_skill_id() const; 00021 int get_character_id() const; 00022 00023 protected: 00024 int _skill_id; 00025 int _character_id; 00026 }; 00027 } 00028 00029 #endif