17#include <vlpi/entityIdentifier.h>
91 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
static PlayerCreatedMessage * create()
Create a copy of the given message.
virtual const std::string & getEntityType() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static PlayerCreatedMessage * createFrom(PlayerCreatedMessage *origMsg)
Create a copy of the given message.
PlayerCreatedData myData
Definition playerCreated.h:146
static UInt64 theVersion
Definition playerCreated.h:144
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
PlayerCreatedData getData()
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static makVre::DtVreMessageId theMessageId
Definition playerCreated.h:143
virtual void setRoleTypes(const std::vector< std::string > &val)
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual const DtEntityIdentifier & getEntityId() const
bool operator!=(const PlayerCreatedMessage &rhs) const
virtual const std::vector< std::string > & getRoleTypes() const
static PlayerCreatedMessage * createFromData(const PlayerCreatedData data)
Create a new message initialized with the given data.
PlayerCreatedData getData() const
Get a copy of the message data (const).
virtual int messageSize() const override
Get a copy of the message data.
virtual void setEntityId(const DtEntityIdentifier &val)
static UInt64 theVersionNumber()
Get the version number for this message class.
static const std::string & theType()
Get the message type string for this instance.
virtual const std::string & type() const override
Get the message type string for this instance.
bool operator==(const PlayerCreatedMessage &rhs) const
virtual ~PlayerCreatedMessage() override
Destructor.
virtual void setEntityType(const std::string &val)
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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * PlayerCreatedMessageType
Message type identifier for PlayerCreatedMessage.
Definition playerCreated.h:24
Data payload for PlayerCreatedMessage.
Definition playerCreated.h:40
PlayerCreatedData()
Default constructor.
bool operator!=(const PlayerCreatedData &rhs) const
bool operator==(const PlayerCreatedData &rhs) const
std::vector< std::string > myRoleTypes
Definition playerCreated.h:49
std::string myEntityType
Definition playerCreated.h:48
DtEntityIdentifier myEntityId
Definition playerCreated.h:47
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.