UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
ServerResponseWelcome.h
Go to the documentation of this file.
1// Copyright(c) 2025 grrimgrriefer & DZnnah, see LICENSE for details.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "UserCharData.h"
8
15{
16#pragma region public API
17public:
26 explicit ServerResponseWelcome(const FUserCharData& userData, const FGuid assistantId,
27 const FString& voxtaServerVersion, const FString& apiVersion) :
29 USER_DATA(userData),
30 ASSISTANT_ID(assistantId),
31 SERVER_VERSION(voxtaServerVersion),
32 API_VERSION(apiVersion)
33 {}
34#pragma endregion
35
36#pragma region data
37public:
41 const FGuid ASSISTANT_ID;
43 const FString SERVER_VERSION;
45 const FString API_VERSION;
46#pragma endregion
47};
ServerResponseType
ServerResponseType Contains the possible response types that can be reported by the VoxtaApiReponseHa...
Definition ServerResponseType.h:16
FUserCharData Read-only data struct containing all the relevant information for the character represe...
Definition UserCharData.h:20
ServerResponseBase(ServerResponseType responseType)
Definition ServerResponseBase.h:20
ServerResponseWelcome(const FUserCharData &userData, const FGuid assistantId, const FString &voxtaServerVersion, const FString &apiVersion)
Construct a welcome response.
Definition ServerResponseWelcome.h:26
const FString SERVER_VERSION
The version of the Voxta server.
Definition ServerResponseWelcome.h:43
const FUserCharData USER_DATA
The user and character data.
Definition ServerResponseWelcome.h:39
const FString API_VERSION
The version of the server API.
Definition ServerResponseWelcome.h:45
const FGuid ASSISTANT_ID
The ID of the assistant.
Definition ServerResponseWelcome.h:41