16#include <vrfExtProtocol/simInterfaceContent.h>
17#include <vlutil/vlString.h>
57 virtual int type()
const override;
63 virtual DtSimInterfaceContent*
clone()
const override;
71 virtual void setId(
unsigned long id);
75 virtual unsigned long id()
const;
85 virtual DtString
uuid()
const;
121 virtual bool setFromNet(
const char* contentBuffer,
unsigned contentSize)
override;
DtString myUUID
UUID of the entity to be controlled.
Definition ifAssignRolePlayer.h:157
virtual int type() const override
Gets the interface message type.
bool mySpectatorMode
Flag indicating whether player is in spectator mode.
Definition ifAssignRolePlayer.h:168
DtString myStationName
Station/role name for the player.
Definition ifAssignRolePlayer.h:163
virtual DtString uuid() const
Gets the UUID of the entity to be controlled.
DtIfAssignRolePlayer()
Default constructor.
virtual void setId(unsigned long 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.
DtIfAssignRolePlayer(const DtIfAssignRolePlayer &orig)
Copy constructor.
virtual void setUUID(const DtString &uuid)
Sets the UUID of the entity to be controlled.
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.
virtual unsigned long id() const
Gets the identifier of the VREngage application.
DtU32 myVersion
Version information for the message.
Definition ifAssignRolePlayer.h:148
virtual void printDataToString(DtString &str) override
Formats the message data as a string.
DtU64 myId
Unique identifier for the VREngage application.
Definition ifAssignRolePlayer.h:154
virtual void setSpectatorMode(bool mode)
Sets the spectator mode flag.
virtual ~DtIfAssignRolePlayer() override
Virtual destructor.
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:20
Export/import macros for the VRF Messages library.
#define VRFMESSAGES_DLL
Definition export.h:23