00001 #ifndef CHARACTER_PROFILE_HH_ 00002 # define CHARACTER_PROFILE_HH_ 00003 00004 # include "incoming-packet.hh" 00005 # include "packets_fwd.hh" 00006 00007 namespace infos 00008 { 00009 class CharacterProfile : public packets::IncomingPacket 00010 { 00011 public: 00012 CharacterProfile(int size = 56); 00013 00014 const static int op = 0x0e; 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_id() const; 00021 int get_x() const; 00022 int get_y() const; 00023 int get_z() const; 00024 int get_hp() const; 00025 int get_class() const; 00026 }; 00027 }; 00028 00029 #endif