00001 #ifndef SKILLS_AVAILABLE_HH_ 00002 # define SKILLS_AVAILABLE_HH_ 00003 00004 # include <list> 00005 00006 # include "incoming-packet.hh" 00007 # include "packets_fwd.hh" 00008 00009 namespace infos 00010 { 00011 class SkillsAvailable : public packets::IncomingPacket 00012 { 00013 public: 00014 typedef std::list<int> IntList; 00015 00016 public: 00017 SkillsAvailable(int size = 161); 00018 00019 const static int op = 0x3d; 00020 00021 void print_tag(std::ostream &os) const; 00022 void print_data(std::ostream &os) const; 00023 void process(packets::PacketVisitor &ph); 00024 00025 IntList extract_skill_ids(); 00026 }; 00027 } 00028 00029 #endif