Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

yuriks

By: a guest on Dec 2nd, 2008  |  syntax: C++  |  size: 0.34 KB  |  views: 249  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. // PacketAcknowledge.h
  2.  
  3. class PacketAcknowledge : public Packet
  4. {
  5. public:
  6.         PacketAcknowledge();
  7.  
  8.         virtual PacketAcknowledge *clone() const;
  9.         virtual void handle();
  10.         virtual PacketFactory::PacketIds getId() const;
  11.  
  12.         virtual void serialize(Uint8 *data) const;
  13.         virtual void deserialize(Uint8 *data);
  14.         virtual int getPacketSize() const;
  15. };