UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseBase Struct Reference

ServerResponseBase Abstract read-only data struct that all responses from the VoxtaServer derive from. More...

#include <ServerResponseBase.h>

Inheritance diagram for ServerResponseBase:
ServerResponseCharacterList ServerResponseChatClosed ServerResponseChatMessageBase ServerResponseChatSessionError ServerResponseChatStarted ServerResponseChatUpdate ServerResponseConfiguration ServerResponseContextUpdated ServerResponseError ServerResponseSpeechTranscription ServerResponseWelcome

Public Member Functions

virtual ~ServerResponseBase ()=default
 
 ServerResponseBase (ServerResponseType responseType)
 

Public Attributes

const ServerResponseType RESPONSE_TYPE
 The type of this server response.
 

Detailed Description

ServerResponseBase Abstract read-only data struct that all responses from the VoxtaServer derive from.

Used to ensure a streamlined and type-safe public API for server responses. Contains the response type for identification.

Constructor & Destructor Documentation

◆ ~ServerResponseBase()

virtual ServerResponseBase::~ServerResponseBase ( )
virtualdefault

◆ ServerResponseBase()

ServerResponseBase::ServerResponseBase ( ServerResponseType responseType)
inlineexplicit

Member Data Documentation

◆ RESPONSE_TYPE

const ServerResponseType ServerResponseBase::RESPONSE_TYPE

The type of this server response.


The documentation for this struct was generated from the following file: