16#include <vrfExtProtocol/simInterfaceContent.h>
17#include <vlutil/vlString.h>
18#include <vrfutil/uuid.h>
58 virtual int type()
const override;
64 virtual DtSimInterfaceContent*
clone()
const override;
87 virtual DtUUID
uuid()
const;
131 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
DtUUID myUUID
UUID of the entity to be controlled.
Definition ifAssignRolePlayer.h:168
virtual int type() const override
Gets the interface message type.
bool mySpectatorMode
Flag indicating whether player is in spectator mode.
Definition ifAssignRolePlayer.h:179
DtString myStationName
Station/role name for the player.
Definition ifAssignRolePlayer.h:174
virtual void setIsReengagement(bool value)
Marks an automatic restored-role replay for the frontend rewind policy.
virtual DtString stationId() const
Gets the identifier of the VREngage application.
virtual bool isReengagement() const
Returns whether this assignment is an automatic restored-role replay.
DtIfAssignRolePlayer()
Default constructor.
virtual void setStationId(const DtString &id)
Sets the identifier of the VREngage application.
virtual DtSimInterfaceContent * clone() const override
Creates a copy of this message.
virtual void setStationName(const DtString &name)
Sets the station/role name for the player.
DtIfAssignRolePlayer & operator=(const DtIfAssignRolePlayer &orig)
Assignment operator.
virtual DtUUID uuid() const
Gets the UUID of the entity to be controlled.
DtIfAssignRolePlayer(const DtIfAssignRolePlayer &orig)
Copy constructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Deserializes the message from a network buffer.
virtual bool setToNet() override
Serializes the message for network transmission.
virtual bool spectatorMode() const
Gets the spectator mode flag.
virtual DtString stationName() const
Gets the station/role name for the player.
bool myIsReengagement
True when the assignment is an automatic restored-role replay.
Definition ifAssignRolePlayer.h:182
virtual void setUUID(const DtUUID &uuid)
Sets the UUID of the entity to be controlled.
DtU32 myVersion
Version information for the message.
Definition ifAssignRolePlayer.h:158
virtual void printDataToString(DtString &str) override
Formats the message data as a string.
virtual void setSpectatorMode(bool mode)
Sets the spectator mode flag.
virtual ~DtIfAssignRolePlayer() override
Virtual destructor.
DtString myStationId
Unique identifier for the VREngage application.
Definition ifAssignRolePlayer.h:165
static DtSimInterfaceContent * creator()
Static creator function for factory registration.
virtual int netRepSize() const override
Gets the network representation size.
const int DtAssignRolePlayerVersion
Current version of the assign role player message.
Definition ifAssignRolePlayer.h:21
Export/import macros for the VRF Messages library.
#define VRFMESSAGES_DLL
Definition export.h:23