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