39 virtual void send(
const std::string& message) = 0;
46 const std::string& channel,
int force) = 0;
56 virtual bool isChannelActive(
const std::string& channelName,
int force)
const = 0;
68 virtual bool addChannel(
const std::string& channelName,
int force,
69 bool active,
const std::vector<std::string>& entities) = 0;
102 const std::string& channel,
const std::string& message) = 0;
Pure abstract interface for the chat window component.
Definition vreChatWindowInterface.h:28
virtual void sendChatMessage(const std::string &message, const std::string &channel, int force)=0
Sends a chat message to a specific channel.
virtual void updateUsername()=0
Regenerates the displayed username from current settings.
virtual void updateAvailableChannels()=0
Refreshes the active-channel list based on current entity state.
virtual void send(const std::string &message)=0
Sends a message or slash command to the chat system.
virtual void displayReceivedMessage(const std::string &username, int force, const std::string &channel, const std::string &message)=0
Displays an incoming chat message received over the network.
virtual void close()=0
Closes the chat window.
virtual bool isFullChatVisible() const =0
Returns whether the full chat panel (not just the notification strip) is visible.
virtual bool addChannel(const std::string &channelName, int force, bool active, const std::vector< std::string > &entities)=0
Adds a channel to the available channels list.
virtual void openOrFocus()=0
Opens the window or gives focus to the input if already open.
virtual bool isShowingAllowed() const =0
Returns whether the chat window is permitted to be shown.
virtual ~DtChatWindowInterface()=default
Virtual destructor.
virtual void setEntityRole(const std::string &role)=0
Sets the entity role used for username generation.
virtual void sendToSystemChannel(const std::string &message)=0
Sends a message to the system (notification) channel.
virtual void updatePositionFromState(const std::string &state)=0
Adjusts chat window layout for the given application state.
virtual void setShowingAllowed(bool canShow)=0
Sets whether the chat window is permitted to be shown.
virtual bool isChannelActive(const std::string &channelName, int force) const =0
Checks whether a channel is currently active.
virtual void clearChannels()=0
Removes all channels from the chat system.
virtual void open()=0
Opens the chat window.
virtual void togglePinChat()=0
Toggles the pinned (always-visible) state of the chat window.
virtual void setEntityForce(int force)=0
Sets the entity force identifier used for channel filtering.
virtual bool isVisible() const =0
Returns whether the chat window root item is visible.
virtual void setEntityMarkingText(const std::string &text)=0
Sets the entity marking text used for username generation.
Defines export macros for the VR-Engage Player Station library.
#define PLAYERSTATION_DLL
Definition export.h:24
!
Definition glsVreMessageUtil.h:50