17#include <vrfutil/uuid.h>
18#include <vlpi/entityIdentifier.h>
92 virtual const std::string&
type()
const override;
Reader class for decoding values from a byte array.
Definition byteStream.h:43
Writer class for encoding values into a byte array.
Definition byteStream.h:166
Abstract base class for all VREngage messages.
Definition vreMessage.h:50
Message identifier class for the VREngage messaging system.
Definition vreMessageId.h:35
OwnershipPlayerDisengagedData getData()
Get a copy of the message data.
virtual const DtEntityIdentifier & getEntityId() const
DIS entity triple of the disengaged entity. Stored alongside the UUID for the pending idle release.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual const DtUUID & getEntityUuid() const
UUID of the disengaged entity. Used by the connector to arm the idle-release timer.
static UInt64 theVersionNumber()
Get the version number for this message class.
OwnershipPlayerDisengagedMessage()
static OwnershipPlayerDisengagedMessage * createFromData(const OwnershipPlayerDisengagedData data)
Create a new message initialized with the given data.
OwnershipPlayerDisengagedData myData
Definition ownershipPlayerDisengaged.h:154
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static const std::string & theType()
Get the message type string for this instance.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual ~OwnershipPlayerDisengagedMessage() override
Destructor.
virtual int messageSize() const override
Get a copy of the message data.
static makVre::DtVreMessageId theMessageId
Definition ownershipPlayerDisengaged.h:151
virtual void setEntityUuid(const DtUUID &val)
UUID of the disengaged entity. Used by the connector to arm the idle-release timer.
static OwnershipPlayerDisengagedMessage * createFrom(OwnershipPlayerDisengagedMessage *origMsg)
Create a copy of the given message.
static UInt64 theVersion
Definition ownershipPlayerDisengaged.h:152
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
OwnershipPlayerDisengagedData getData() const
Get a copy of the message data (const).
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void setEntityId(const DtEntityIdentifier &val)
DIS entity triple of the disengaged entity. Stored alongside the UUID for the pending idle release.
static OwnershipPlayerDisengagedMessage * create()
Create a copy of the given message.
bool operator==(const OwnershipPlayerDisengagedMessage &rhs) const
bool operator!=(const OwnershipPlayerDisengagedMessage &rhs) const
Defines export macros for the VREngage Messages library.
#define VREMESSAGES_DLL
Export/import macro for non-Windows platforms.
Definition export.h:39
!
Definition glsVreMessageUtil.h:50
constexpr const char * OwnershipPlayerDisengagedMessageType
Message type identifier for OwnershipPlayerDisengagedMessage.
Definition ownershipPlayerDisengaged.h:23
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
Data payload for OwnershipPlayerDisengagedMessage.
Definition ownershipPlayerDisengaged.h:39
bool operator!=(const OwnershipPlayerDisengagedData &rhs) const
bool operator==(const OwnershipPlayerDisengagedData &rhs) const
OwnershipPlayerDisengagedData()
Default constructor.
DtEntityIdentifier myEntityId
DIS entity triple of the disengaged entity. Stored alongside the UUID for the pending idle release.
Definition ownershipPlayerDisengaged.h:50
DtUUID myEntityUuid
UUID of the disengaged entity. Used by the connector to arm the idle-release timer.
Definition ownershipPlayerDisengaged.h:47
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.