87 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
virtual ~SetEntityEngineSoundEnabledMessage() override
Destructor.
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
SetEntityEngineSoundEnabledMessage()
static makVre::DtVreMessageId theMessageId
Definition setEntityEngineSoundEnabled.h:136
bool operator!=(const SetEntityEngineSoundEnabledMessage &rhs) const
virtual void setElementId(unsigned long long val)
static SetEntityEngineSoundEnabledMessage * createFrom(SetEntityEngineSoundEnabledMessage *origMsg)
Create a copy of the given message.
static SetEntityEngineSoundEnabledMessage * create()
Create a copy of the given message.
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
static SetEntityEngineSoundEnabledMessage * createFromData(const SetEntityEngineSoundEnabledData data)
Create a new message initialized with the given data.
virtual const std::string & type() const override
Get the message type string for this instance.
virtual unsigned long long getElementId() const
virtual bool getEngineSoundEnabled() const
static UInt64 theVersion
Definition setEntityEngineSoundEnabled.h:137
SetEntityEngineSoundEnabledData getData()
Get a copy of the message data.
virtual int messageSize() const override
Get a copy of the message data.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
SetEntityEngineSoundEnabledData myData
Definition setEntityEngineSoundEnabled.h:139
SetEntityEngineSoundEnabledData getData() const
Get a copy of the message data (const).
bool operator==(const SetEntityEngineSoundEnabledMessage &rhs) const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
static const std::string & theType()
Get the message type string for this instance.
static UInt64 theVersionNumber()
Get the version number for this message class.
virtual void setEngineSoundEnabled(bool 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 * SetEntityEngineSoundEnabledMessageType
Message type identifier for SetEntityEngineSoundEnabledMessage.
Definition setEntityEngineSoundEnabled.h:21
Data payload for SetEntityEngineSoundEnabledMessage.
Definition setEntityEngineSoundEnabled.h:37
SetEntityEngineSoundEnabledData()
Default constructor.
bool operator==(const SetEntityEngineSoundEnabledData &rhs) const
unsigned long long myElementId
Definition setEntityEngineSoundEnabled.h:44
bool myEngineSoundEnabled
Definition setEntityEngineSoundEnabled.h:45
bool operator!=(const SetEntityEngineSoundEnabledData &rhs) const
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.