A Demo Project for the UnrealEngineSDK
|
UCLASS() More...
#include <VaRestLibrary.h>
Static Public Member Functions | |
static bool | Base64Decode (const FString &Source, FString &Dest) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Decode")) | |
static bool | Base64DecodeData (const FString &Source, TArray< uint8 > &Dest) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Decode Data")) | |
static FString | Base64Encode (const FString &Source) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Encode")) | |
static bool | Base64EncodeData (const TArray< uint8 > &Data, FString &Dest) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Encode Data")) | |
static UVaRestSettings * | GetVaRestSettings () |
UFUNCTION(BlueprintPure, Category = "VaRest|Common") | |
static FString | GetVaRestVersion () |
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (DisplayName = "Get VaRest Version")) | |
static FVaRestURL | GetWorldURL (UObject *WorldContextObject) |
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (WorldContext = "WorldContextObject")) | |
static FORCEINLINE EVaRestHttpStatusCode::Type | HTTPStatusIntToEnum (int32 StatusCode) |
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (DisplayName = "HTTP Status Int To Enum")) | |
static FString | PercentEncode (const FString &Source) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility") | |
static FString | StringToMd5 (const FString &StringToHash) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "String to MD5")) | |
static FString | StringToSha1 (const FString &StringToHash) |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "String to SHA1")) | |
Private Member Functions | |
GENERATED_BODY () | |
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Decode"))
Decodes a Base64 string into a FString
Source | The stringified data to convert |
Dest | The out buffer that will be filled with the decoded data |
Definition at line 33 of file VaRestLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Decode Data"))
Decodes a Base64 string into a byte array
Source | The stringified data to convert |
Dest | The out buffer that will be filled with the decoded data |
Definition at line 57 of file VaRestLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Encode"))
Encodes a FString into a Base64 string
Source | The string data to convert |
Definition at line 24 of file VaRestLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "Base64 Encode Data"))
Encodes a byte array into a Base64 string
Dara | The data to convert |
Definition at line 45 of file VaRestLibrary.cpp.
|
private |
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VaRest|Common")
Direct access to the plugin settings
Definition at line 14 of file VaRestLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (DisplayName = "Get VaRest Version"))
Get the plugin's version
Definition at line 83 of file VaRestLibrary.cpp.
|
staticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (WorldContext = "WorldContextObject"))
Get the URL that was used when loading this World
Definition at line 90 of file VaRestLibrary.cpp.
|
inlinestaticBlueprintPure |
UFUNCTION(BlueprintPure, Category = "VaRest|Utility", meta = (DisplayName = "HTTP Status Int To Enum"))
Helper method to convert a status code from HTTP to an enum for easier readability
Definition at line 121 of file VaRestLibrary.h.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility")
Applies percent-encoding to text
Definition at line 19 of file VaRestLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "String to MD5"))
Helper to perform the very common case of hashing an ASCII string into a hex representation.
String | Hex representation of the hash (32 lower-case hex digits) |
Definition at line 62 of file VaRestLibrary.cpp.
|
staticBlueprintCallable |
UFUNCTION(BlueprintCallable, Category = "VaRest|Utility", meta = (DisplayName = "String to SHA1"))
Helper to perform the SHA1 hash operation on string.
Definition at line 67 of file VaRestLibrary.cpp.