GNE
0.75.0
|
ObjectCreationPacket is a class used by the ObjectBroker to replicate new objects. More...
#include <ObjectCreationPacket.h>
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. |
ObjectCreationPacket is a class used by the ObjectBroker to replicate new objects.
GNE::ObjectCreationPacket::ObjectCreationPacket | ( | int | objectId, |
const Packet & | data | ||
) |
Initializes a new ObjectCreationPacket.
The given Packet is copied.