UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
VoxtaDefines.h File Reference
#include "Logging/LogMacros.h"
#include "type_traits"

Go to the source code of this file.

Macros

#define EASY_NAME(x)
 Macro to make a FName from a literal without the extra overhead.
 
#define EASY_STRING(x)
 Macro to make a FString from a literal without the extra overhead.
 
#define SIGNALR_STRING(x)
 Macro to make a FSignalRValue from a literal without the extra overhead.
 
#define SIGNALR_STRINGVIEW(x)
 Macro to make a FSignalRValue from a FStringView the extra overhead.
 
#define TARGETED_SERVER_VERSION   TEXT("1.0.0-beta.147")
 
#define TARGETED_API_VERSION   TEXT("2025-01")
 

Functions

template<typename T, typename = std::enable_if_t<std::is_convertible_v<T, FStringView>>>
FSignalRValue ConvertToSignalRValue (const T &value)
 Helper function for SIGNALR_STRINGVIEW macro.
 
VOXTADATA_API DECLARE_LOG_CATEGORY_EXTERN (VoxtaLog, Log, All)
 
 DECLARE_DELEGATE_ThreeParams (FDownloadedTextureDelegateNative, bool, const UTexture2DDynamic *, const FIntVector2 &)
 
VOXTADATA_API FString GuidToString (const FGuid &input)
 Helper function to convert FGuid value to a string (forced DigitsWithHyphensLower)
 

Macro Definition Documentation

◆ EASY_NAME

#define EASY_NAME ( x)
Value:
FName(TEXT(x))

Macro to make a FName from a literal without the extra overhead.

◆ EASY_STRING

#define EASY_STRING ( x)
Value:
FString(TEXT(x))

Macro to make a FString from a literal without the extra overhead.

◆ SIGNALR_STRING

#define SIGNALR_STRING ( x)
Value:
FSignalRValue(FString(TEXT(x)))
Represents a value that can be sent to or received from a SignalR hub.
Definition SignalRValue.h:34

Macro to make a FSignalRValue from a literal without the extra overhead.

◆ SIGNALR_STRINGVIEW

#define SIGNALR_STRINGVIEW ( x)
Value:
FSignalRValue ConvertToSignalRValue(const T &value)
Helper function for SIGNALR_STRINGVIEW macro.
Definition VoxtaDefines.h:24

Macro to make a FSignalRValue from a FStringView the extra overhead.

◆ TARGETED_API_VERSION

#define TARGETED_API_VERSION   TEXT("2025-01")

◆ TARGETED_SERVER_VERSION

#define TARGETED_SERVER_VERSION   TEXT("1.0.0-beta.147")

Function Documentation

◆ ConvertToSignalRValue()

template<typename T, typename = std::enable_if_t<std::is_convertible_v<T, FStringView>>>
FSignalRValue ConvertToSignalRValue ( const T & value)

Helper function for SIGNALR_STRINGVIEW macro.

◆ DECLARE_DELEGATE_ThreeParams()

DECLARE_DELEGATE_ThreeParams ( FDownloadedTextureDelegateNative ,
bool ,
const UTexture2DDynamic * ,
const FIntVector2 &  )

◆ DECLARE_LOG_CATEGORY_EXTERN()

VOXTADATA_API DECLARE_LOG_CATEGORY_EXTERN ( VoxtaLog ,
Log ,
All  )

◆ GuidToString()

VOXTADATA_API FString GuidToString ( const FGuid & input)

Helper function to convert FGuid value to a string (forced DigitsWithHyphensLower)