ObjectDeathPacket is a class used by the ObjectBroker to signify when an object is being removed from its control (usually because it is "dying"). More...
#include <ObjectDeathPacket.h>
Public Types | |
typedef SmartPtr < ObjectDeathPacket > | sptr |
typedef WeakPtr < ObjectDeathPacket > | wptr |
Public Member Functions | |
ObjectDeathPacket () | |
Creates a new instance of this packet suitable only to call readPacket on. | |
ObjectDeathPacket (int objectId, const Packet *data) | |
Initializes a new ObjectDeathPacket. | |
Static Public Attributes | |
static const int | ID = 8 |
The ID for this type of packet. |
ObjectDeathPacket is a class used by the ObjectBroker to signify when an object is being removed from its control (usually because it is "dying").
GNE::ObjectDeathPacket::ObjectDeathPacket | ( | int | objectId, |
const Packet * | data | ||
) |
Initializes a new ObjectDeathPacket.
The given Packet is copied.