UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseChatStarted.h
Go to the documentation of this file.
1// Copyright(c) 2024 grrimgrriefer & DZnnah, see LICENSE for details.
2
3#pragma once
4
5#include "CoreMinimal.h"
8
15{
16#pragma region public API
17public:
28 explicit ServerResponseChatStarted(FGuid userId,
29 const TArray<FGuid>& characterIds,
30 const TMap<VoxtaServiceType, FVoxtaServiceEntryData>& services, // might need group here tho
31 FGuid chatId,
32 FGuid sessionId,
33 FStringView contextText) : ServerResponseBase(ServerResponseType::ChatStarted),
34 CHARACTER_IDS(characterIds),
35 SERVICES(services),
36 USER_ID(userId),
37 CHAT_ID(chatId),
38 SESSION_ID(sessionId),
39 CONTEXT_TEXT(contextText)
40 {}
41#pragma endregion
42
43#pragma region data
44public:
46 const TArray<FGuid> CHARACTER_IDS;
48 const TMap<VoxtaServiceType, FVoxtaServiceEntryData> SERVICES;
50 const FGuid USER_ID;
52 const FGuid CHAT_ID;
54 const FGuid SESSION_ID;
56 const FString CONTEXT_TEXT;
57#pragma endregion
58};
ServerResponseType
ServerResponseType Contains the possible response types that can be reported by the VoxtaApiReponseHa...
Definition ServerResponseType.h:16
ServerResponseBase(ServerResponseType responseType)
Definition ServerResponseBase.h:20
const TArray< FGuid > CHARACTER_IDS
The list of character IDs in the chat.
Definition ServerResponseChatStarted.h:46
const FGuid CHAT_ID
The chat ID.
Definition ServerResponseChatStarted.h:52
ServerResponseChatStarted(FGuid userId, const TArray< FGuid > &characterIds, const TMap< VoxtaServiceType, FVoxtaServiceEntryData > &services, FGuid chatId, FGuid sessionId, FStringView contextText)
Construct a chat started response.
Definition ServerResponseChatStarted.h:28
const TMap< VoxtaServiceType, FVoxtaServiceEntryData > SERVICES
The map of enabled services.
Definition ServerResponseChatStarted.h:48
const FGuid USER_ID
The user ID.
Definition ServerResponseChatStarted.h:50
const FString CONTEXT_TEXT
The context text for the chat.
Definition ServerResponseChatStarted.h:56
const FGuid SESSION_ID
The session ID.
Definition ServerResponseChatStarted.h:54