5#include "CoreMinimal.h"
7#include "VoxtaVersionData.generated.h"
20#pragma region public API
71 m_serverVersion(voxtaServerVersion),
72 m_apiVersion(voxtaAPIVersion)
80 UPROPERTY(BlueprintReadOnly, Category =
"Voxta", meta = (AllowPrivateAccess =
"true", DisplayName =
"Supported VoxtaServer version"))
83 UPROPERTY(BlueprintReadOnly, Category =
"Voxta", meta = (AllowPrivateAccess =
"true", DisplayName =
"Supported VoxtaServer API version"))
86 UPROPERTY(BlueprintReadOnly, Category =
"Voxta", meta = (AllowPrivateAccess =
"true", DisplayName =
"Current VoxtaServer version"))
87 FString m_serverVersion = TEXT(
"not connected");
89 UPROPERTY(BlueprintReadOnly, Category =
"Voxta", meta = (AllowPrivateAccess =
"true", DisplayName =
"Current VoxtaServer API version"))
90 FString m_apiVersion = TEXT(
"not connected");
#define TARGETED_API_VERSION
Definition VoxtaDefines.h:20
#define TARGETED_SERVER_VERSION
Definition VoxtaDefines.h:19
FStringView GetApiVersion() const
Get the actual API version reported by the connected server.
Definition VoxtaVersionData.h:52
bool IsMatchingServerVersion() const
Check if the connected server's version matches the expected version.
Definition VoxtaVersionData.h:60
bool IsMatchingAPIVersion() const
Check if the connected server's API version matches the expected version.
Definition VoxtaVersionData.h:68
FVoxtaVersionData()=default
Default constructor.
FStringView GetCompatibleAPIVersion() const
Get the compatible API version that this client expects.
Definition VoxtaVersionData.h:36
FStringView GetServerVersion() const
Get the actual server version reported by the connected server.
Definition VoxtaVersionData.h:44
FStringView GetCompatibleServerVersion() const
Get the compatible server version that this client expects.
Definition VoxtaVersionData.h:28
FVoxtaVersionData(FString voxtaServerVersion, FString voxtaAPIVersion)
Definition VoxtaVersionData.h:70