5#include "CoreMinimal.h"
6#include "Dom/JsonObject.h"
7#include "Dom/JsonValue.h"
9#include "LootLockerServerMetadataRequest.generated.h"
18UENUM(BlueprintType, Category =
"LootLockerServer")
34UENUM(BlueprintType, Category =
"LootLockerServer")
47UENUM(BlueprintType, Category =
"LootLockerServer")
60UENUM(BlueprintType, Category =
"LootLockerServer")
63 OnString = 0 UMETA(ToolTip=
"Triggered when the parsed entry is of type String. The String Value field will be populated"),
64 OnInteger = 1 UMETA(ToolTip =
"Triggered when the parsed entry is of type Integer (non decimal number). The Integer Value field will be populated"),
65 OnFloat = 2 UMETA(ToolTip =
"Triggered when the parsed entry is of type Float (decimal number). The Float Value field will be populated"),
66 OnNumber = 3 UMETA(ToolTip =
"Triggered when the parsed entry is a number but not a regular integer or float (could for example be too big to fit in either of those types, or the decimal precision is higher than can be solved with either of the types). The NumberString value field will be populated"),
67 OnBool = 4 UMETA(ToolTip =
"Triggered when the parsed entry is of type Bool. The Bool Value field will be populated"),
68 OnJson = 5 UMETA(ToolTip =
"Triggered when the parsed entry is of type Json. The JsonString Value field will be populated with the string representation of the json, convert to a JSON object or straight to a USTRUCT of your design"),
69 OnBase64 = 6 UMETA(ToolTip =
"Triggered when the parsed entry is of type Base64. The Base64 Value field will be populated"),
70 OnError = 7 UMETA(ToolTip =
"Triggered when the entry could not be parsed. The ErrorMessage Value field will be populated"),
81USTRUCT(BlueprintType, Category =
"LootLockerServer")
88 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
93 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
100USTRUCT(BlueprintType, Category = "LootLockerServer")
107 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
112 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
117 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
118 TArray<FString> Tags;
123 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
124 TArray<FString> Access;
128 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsString(FString& Output) const;
132 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsFloat(
float& Output) const;
136 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsInteger(
int& Output) const;
140 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsBool(
bool& Output) const;
144 LOOTLOCKERSERVERSDK_API
bool TryGetRawValue(TSharedPtr<FJsonValue>& Output) const;
148 LOOTLOCKERSERVERSDK_API
bool TryGetSerializedValue(FString& Output) const;
152 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsJsonObject(TSharedPtr<FJsonObject>& Output) const;
156 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsJsonArray(TArray<TSharedPtr<FJsonValue>>& Output) const;
165 LOOTLOCKERSERVERSDK_API
void SetValueAsString(const FString& Value);
169 LOOTLOCKERSERVERSDK_API
void SetValueAsFloat(const
float& Value);
173 LOOTLOCKERSERVERSDK_API
void SetValueAsInteger(const
int& Value);
177 LOOTLOCKERSERVERSDK_API
void SetValueAsBool(const
bool& Value);
181 LOOTLOCKERSERVERSDK_API
void SetRawValue(const TSharedPtr<FJsonValue>& Value);
186 LOOTLOCKERSERVERSDK_API
bool SetValueAsUStruct(const T& Value);
190 LOOTLOCKERSERVERSDK_API
void SetValueAsJsonObject(const FJsonObject& Value);
194 LOOTLOCKERSERVERSDK_API
void SetValueAsJsonArray(const TArray<TSharedPtr<FJsonValue>>& Value);
203 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeStringEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const FString& Value);
207 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeFloatEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const
float& Value);
211 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeIntegerEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const
int Value);
215 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeBoolEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const
bool Value);
223 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeJsonObjectEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const FJsonObject& Value);
227 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeJsonArrayEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const TArray<TSharedPtr<FJsonValue>>& Value);
236 void LOOTLOCKERSERVERSDK_API _INTERNAL_SetJsonRepresentation(const FJsonObject& obj);
240 FJsonObject EntryAsJson;
246USTRUCT(BlueprintType, Category = "LootLockerServer")
253 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
258 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
265USTRUCT(BlueprintType, Category = "LootLockerServer")
272 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
277 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
282 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
289USTRUCT(BlueprintType, Category = "LootLockerServer")
296 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
301 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
306 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
307 TArray<FString> Keys;
313USTRUCT(BlueprintType, Category = "LootLockerServer")
320 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
325 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
330 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
335 int LOOTLOCKERSERVERSDK_API __INTERNAL_GetEntryIndexByKey(const FString& Key) const;
339 void LOOTLOCKERSERVERSDK_API __INTERNAL_GenerateKeyMap();
341 TMap<FString,
int> KeyToEntryIndex = TMap<FString,
int>();
351USTRUCT(BlueprintType, Category = "LootLockerServer")
358 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
363 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
370USTRUCT(BlueprintType, Category = "LootLockerServer")
377 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
387USTRUCT(BlueprintType, Category = "LootLockerServer")
394 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
399 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
404 int LOOTLOCKERSERVERSDK_API __INTERNAL_GetEntryIndexByKey(const FString Key) const;
408 void LOOTLOCKERSERVERSDK_API __INTERNAL_GenerateKeyMap();
410 TMap<FString,
int> KeyToEntryIndex = TMap<FString,
int>();
415USTRUCT(BlueprintType, Category = "LootLockerServer")
422 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
428USTRUCT(BlueprintType, Category = "LootLockerServer")
435 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
440 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
445 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
451USTRUCT(BlueprintType, Category = "LootLockerServer")
458 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
Definition LootLockerServerMetadataRequest.h:102
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67
Definition LootLockerServerMetadataRequest.h:248