Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1706


Ignore:
Timestamp:
Sep 4, 2008, 9:53:56 PM (16 years ago)
Author:
scheusso
Message:

forgot some files

Location:
code/branches/network/src/network
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/packet/PacketContent.h

    r1705 r1706  
    4444  public:
    4545    virtual ~PacketContent()
    46     { if(data_) delete[] data_; }
     46    {
     47      if(data_) delete[] data_;
     48    }
    4749    virtual unsigned char *getData()=0;
    4850    virtual unsigned int getSize() const =0;
    49     int getClientID(){return clientID_;}
     51    int getClientID()
     52    {
     53      return clientID_;
     54    }
    5055    virtual bool process()=0;
    51     enet_uint32 getFlags(){ return flags_; }
     56    enet_uint32 getFlags()
     57    {
     58      return flags_;
     59    }
    5260  protected:
    5361    PacketContent()
    54         { flags_ = PACKET_FLAG_DEFAULT;
     62        {
     63          flags_ = PACKET_FLAG_DEFAULT;
    5564        data_=0; }
    5665    PacketContent( unsigned char *data, int clientID )
Note: See TracChangeset for help on using the changeset viewer.