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