#include <ObjectUpdatePacket.h>
Inheritance diagram for GNE::ObjectUpdatePacket:
Public Types | |
typedef SmartPtr< ObjectUpdatePacket > | sptr |
typedef WeakPtr< ObjectUpdatePacket > | wptr |
Public Member Functions | |
ObjectUpdatePacket () | |
Creates a new instance of this packet suitable only to call readPacket on. | |
ObjectUpdatePacket (int objectId, const Packet &data) | |
Initializes a new ObjectUpdatePacket. | |
Static Public Attributes | |
static const int | ID = 7 |
The ID for this type of packet. |
GNE::ObjectUpdatePacket::ObjectUpdatePacket | ( | int | objectId, | |
const Packet & | data | |||
) |
Initializes a new ObjectUpdatePacket.
The given Packet is copied.