83 virtual void open()
override;
100 virtual void send(
const std::string& message)
override;
102 const std::string& channel,
int force)
override;
104 virtual bool isChannelActive(
const std::string& channelName,
int force)
const override;
105 virtual bool addChannel(
const std::string& channelName,
int force,
106 bool active,
const std::vector<std::string>& entities)
override;
114 const std::string& channel,
const std::string& message)
override;
Pure abstract interface for the chat window component.
Definition vreChatWindowInterface.h:28
Top-level class representing the VR-Engage application.
Definition playerStationApp.h:155
QML interface for the VR-Engage chat system.
Definition vreChatQML.h:84
virtual void setEntityRole(const std::string &role) override
Sets the entity role used for username generation.
DtVreChatWindow(DtPlayerStationApp &app)
Constructor.
virtual bool addChannel(const std::string &channelName, int force, bool active, const std::vector< std::string > &entities) override
Adds a channel to the available channels list.
virtual void send(const std::string &message) override
Sends a message or slash command to the chat system.
virtual void setShowingAllowed(const bool canShow) override
Sets whether the chat window is allowed to be shown.
Definition vreChatWindow.h:148
virtual void sendChatMessage(const std::string &message, const std::string &channel, int force) override
Sends a chat message to a specific channel.
DtVreChatQML * getChatObject()
Gets the chat QML object.
bool myCanShowChatWindow
Whether the chat window can be shown.
Definition vreChatWindow.h:174
virtual void togglePinChat() override
Toggles the pinned state of the chat window.
virtual void close() override
Closes the chat window.
virtual void openOrFocus() override
Opens the chat window or gives it focus if already open.
virtual void setEntityMarkingText(const std::string &text) override
Sets the entity marking text used for username generation.
std::unique_ptr< DtVreChatQML > myChatObject
Chat QML interface object.
Definition vreChatWindow.h:154
virtual void setEntityForce(int force) override
Sets the entity force identifier used for channel filtering.
virtual void updateUsername() override
Regenerates the displayed username from current settings.
virtual void updateAvailableChannels() override
Refreshes the active-channel list based on current entity state.
QQuickItem * myRoot
Root QML item for the chat window.
Definition vreChatWindow.h:159
virtual void open() override
Opens the chat window.
DtPlayerStationApp & myApp
Reference to the player station application.
Definition vreChatWindow.h:164
virtual bool isVisible() const override
Checks if the chat window is currently visible.
virtual bool isShowingAllowed() const override
Checks if the chat window is allowed to be shown.
Definition vreChatWindow.h:139
virtual void setVisibility(bool visible)
Sets the visibility of the chat window.
virtual ~DtVreChatWindow() override
Virtual destructor.
virtual bool isChannelActive(const std::string &channelName, int force) const override
Checks whether a channel is currently active.
virtual void clearChannels() override
Removes all channels from the chat system.
virtual bool isFullChatVisible() const override
Checks if the full chat window is visible.
virtual void sendToSystemChannel(const std::string &message) override
Sends a message to the system (notification) channel.
virtual void updatePositionFromState(const std::string &state) override
Updates the chat window position based on application state.
virtual void displayReceivedMessage(const std::string &username, int force, const std::string &channel, const std::string &message) override
Displays an incoming chat message received over the network.
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
!
Definition glsVreMessageUtil.h:50
Defines ChannelInfo and DtVreChatQML, the QML interface for the VR-Engage chat system.
Declares the DtChatWindowInterface pure abstract interface.
Defines the data model for the chat window in VR-Engage.