94 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 UInt64 theVersionNumber()
Get the version number for this message class.
virtual void setUsingBackend(bool val)
virtual void setStartingNew(bool val)
static const makVre::DtVreMessageId & theId()
Get the message identifier for this message class.
virtual int messageSize() const override
Get a copy of the message data.
static const std::string & theType()
Get the message type string for this instance.
static makVre::DtVreMessage * decode(char *buffer, int length)
Decode a message from a byte buffer.
bool operator==(const SessionLoadDataMessage &rhs) const
virtual void setGuiTerrainFilename(const std::string &val)
static makVre::DtVreMessageId theMessageId
Definition sessionLoadData.h:161
virtual void setUsingOwnshipSim(bool val)
virtual void setTerrainFilename(const std::string &val)
bool operator!=(const SessionLoadDataMessage &rhs) const
virtual const makVre::DtVreMessageId & messageId() const override
Get the message identifier for this instance.
virtual bool getUsingBackend() const
virtual bool getStartingNew() const
virtual void setScenarioFilename(const std::string &val)
virtual bool getUsingOwnshipSim() const
virtual const std::string & type() const override
Get the message type string for this instance.
virtual void setWeAreHost(bool val)
SessionLoadDataData myData
Definition sessionLoadData.h:164
static SessionLoadDataMessage * createFromData(const SessionLoadDataData data)
Create a new message initialized with the given data.
virtual ~SessionLoadDataMessage() override
Destructor.
static UInt64 theVersion
Definition sessionLoadData.h:162
virtual void deserialize(DtStreamReader &reader) override
Deserializes the message from a stream reader.
virtual void setIsHosted(bool val)
virtual const std::string & getGuiTerrainFilename() const
SessionLoadDataData getData()
Get a copy of the message data.
virtual bool getWeAreHost() const
virtual const std::string & getTerrainFilename() const
virtual void serialize(DtStreamWriter &writer) const override
Serializes the message to a stream writer.
SessionLoadDataData getData() const
Get a copy of the message data (const).
static SessionLoadDataMessage * create()
Create a copy of the given message.
static SessionLoadDataMessage * createFrom(SessionLoadDataMessage *origMsg)
Create a copy of the given message.
virtual bool getIsHosted() const
virtual const std::string & getScenarioFilename() 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 * SessionLoadDataMessageType
Message type identifier for SessionLoadDataMessage.
Definition sessionLoadData.h:22
Data payload for SessionLoadDataMessage.
Definition sessionLoadData.h:38
bool myWeAreHost
Definition sessionLoadData.h:49
std::string myGuiTerrainFilename
Definition sessionLoadData.h:47
bool myUsingBackend
Definition sessionLoadData.h:51
std::string myTerrainFilename
Definition sessionLoadData.h:46
bool operator==(const SessionLoadDataData &rhs) const
bool operator!=(const SessionLoadDataData &rhs) const
bool myIsHosted
Definition sessionLoadData.h:48
bool myUsingOwnshipSim
Definition sessionLoadData.h:52
bool myStartingNew
Definition sessionLoadData.h:50
SessionLoadDataData()
Default constructor.
std::string myScenarioFilename
Definition sessionLoadData.h:45
Defines the base class for all VREngage messages.
Defines message identifier class for the VREngage messaging system.