00001 #ifndef CHARACTER_HEALTH_HH_ 00002 # define CHARACTER_HEALTH_HH_ 00003 00004 # include "incoming-packet.hh" 00005 # include "packets_fwd.hh" 00006 00007 namespace infos 00008 { 00009 class CharacterHealth : public packets::IncomingPacket 00010 { 00011 public: 00012 CharacterHealth(int size = 7); 00013 00014 const static int op = 0x14; 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_value() const; 00022 }; 00023 } 00024 00025 #endif