18#include <vlpi/entityIdentifier.h>
19#include <vrfutil/uuid.h>
95 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 const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
static VreAssignRolePlayerMessage * createFromData(const VreAssignRolePlayerData data)
Create a new message initialized with the given data.
VreAssignRolePlayerData myData
Definition vreAssignRolePlayer.h:162
virtual const std::string & getStationName() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual const std::string & getStationId() const
VreAssignRolePlayerData getData()
Get a copy of the message data.
bool operator==(const VreAssignRolePlayerMessage &rhs) const
static VreAssignRolePlayerMessage * createFrom(VreAssignRolePlayerMessage *origMsg)
Create a copy of the given message.
virtual const std::string & getDisplayLayout() const
static makVre::DtVreMessageId theMessageId
Definition vreAssignRolePlayer.h:159
virtual void setStationId(const std::string &val)
virtual void setStationName(const std::string &val)
virtual void setEntityId(const DtEntityIdentifier &val)
static UInt64 theVersion
Definition vreAssignRolePlayer.h:160
static VreAssignRolePlayerMessage * create()
Create a copy of the given message.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
VreAssignRolePlayerData getData() const
Get a copy of the message data (const).
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual const DtEntityIdentifier & getEntityId() const
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.
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
virtual bool getSpectatorMode() const
virtual bool getIsReengagement() const
virtual void setEntityUuid(const DtUUID &val)
VreAssignRolePlayerMessage()
virtual int messageSize() const override
Get a copy of the message data.
virtual void setDisplayLayout(const std::string &val)
virtual void setSpectatorMode(bool val)
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual void setIsReengagement(bool val)
virtual ~VreAssignRolePlayerMessage() override
Destructor.
virtual const DtUUID & getEntityUuid() const
bool operator!=(const VreAssignRolePlayerMessage &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
unsigned long long UInt64
Unsigned 64-bit integer type.
Definition utilFunctions.h:42
constexpr const char * VreAssignRolePlayerMessageType
Message type identifier for VreAssignRolePlayerMessage.
Definition vreAssignRolePlayer.h:24
Data payload for VreAssignRolePlayerMessage.
Definition vreAssignRolePlayer.h:40
std::string myStationId
Definition vreAssignRolePlayer.h:47
bool operator==(const VreAssignRolePlayerData &rhs) const
std::string myDisplayLayout
Definition vreAssignRolePlayer.h:51
bool myIsReengagement
Definition vreAssignRolePlayer.h:53
DtEntityIdentifier myEntityId
Definition vreAssignRolePlayer.h:48
DtUUID myEntityUuid
Definition vreAssignRolePlayer.h:49
bool operator!=(const VreAssignRolePlayerData &rhs) const
std::string myStationName
Definition vreAssignRolePlayer.h:50
VreAssignRolePlayerData()
Default constructor.
bool mySpectatorMode
Definition vreAssignRolePlayer.h:52
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.