5#include "CoreMinimal.h"
6#include "Dom/JsonObject.h"
7#include "Dom/JsonValue.h"
9#include "LootLockerServerMetadataRequest.generated.h"
18UENUM(BlueprintType, Category =
"LootLockerServer")
36UENUM(BlueprintType, Category =
"LootLockerServer")
49UENUM(BlueprintType, Category =
"LootLockerServer")
62UENUM(BlueprintType, Category =
"LootLockerServer")
65 OnString = 0 UMETA(ToolTip=
"Triggered when the parsed entry is of type String. The String Value field will be populated"),
66 OnInteger = 1 UMETA(ToolTip =
"Triggered when the parsed entry is of type Integer (non decimal number). The Integer Value field will be populated"),
67 OnFloat = 2 UMETA(ToolTip =
"Triggered when the parsed entry is of type Float (decimal number). The Float Value field will be populated"),
68 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"),
69 OnBool = 4 UMETA(ToolTip =
"Triggered when the parsed entry is of type Bool. The Bool Value field will be populated"),
70 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"),
71 OnBase64 = 6 UMETA(ToolTip =
"Triggered when the parsed entry is of type Base64. The Base64 Value field will be populated"),
72 OnError = 7 UMETA(ToolTip =
"Triggered when the entry could not be parsed. The ErrorMessage Value field will be populated"),
83USTRUCT(BlueprintType, Category =
"LootLockerServer")
90 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
95 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
102USTRUCT(BlueprintType, Category = "LootLockerServer")
109 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
114 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
119 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
120 TArray<FString> Tags;
125 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
126 TArray<FString> Access;
130 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsString(FString& Output) const;
134 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsFloat(
float& Output) const;
138 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsInteger(
int& Output) const;
142 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsBool(
bool& Output) const;
146 LOOTLOCKERSERVERSDK_API
bool TryGetRawValue(TSharedPtr<FJsonValue>& Output) const;
150 LOOTLOCKERSERVERSDK_API
bool TryGetSerializedValue(FString& Output) const;
154 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsJsonObject(TSharedPtr<FJsonObject>& Output) const;
158 LOOTLOCKERSERVERSDK_API
bool TryGetValueAsJsonArray(TArray<TSharedPtr<FJsonValue>>& Output) const;
167 LOOTLOCKERSERVERSDK_API
void SetValueAsString(const FString& Value);
171 LOOTLOCKERSERVERSDK_API
void SetValueAsFloat(const
float& Value);
175 LOOTLOCKERSERVERSDK_API
void SetValueAsInteger(const
int& Value);
179 LOOTLOCKERSERVERSDK_API
void SetValueAsBool(const
bool& Value);
183 LOOTLOCKERSERVERSDK_API
void SetRawValue(const TSharedPtr<FJsonValue>& Value);
188 LOOTLOCKERSERVERSDK_API
bool SetValueAsUStruct(const T& Value);
192 LOOTLOCKERSERVERSDK_API
void SetValueAsJsonObject(const FJsonObject& Value);
196 LOOTLOCKERSERVERSDK_API
void SetValueAsJsonArray(const TArray<TSharedPtr<FJsonValue>>& Value);
205 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeStringEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const FString& Value);
209 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeFloatEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const
float& Value);
213 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeIntegerEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const
int Value);
217 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeBoolEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const
bool Value);
225 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeJsonObjectEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const FJsonObject& Value);
229 static LOOTLOCKERSERVERSDK_API
FLootLockerServerMetadataEntry MakeJsonArrayEntry(const FString& Key, const TArray<FString>& Tags, const TArray<FString>& Access, const TArray<TSharedPtr<FJsonValue>>& Value);
238 void LOOTLOCKERSERVERSDK_API _INTERNAL_SetJsonRepresentation(const FJsonObject& obj);
242 FJsonObject EntryAsJson;
248USTRUCT(BlueprintType, Category = "LootLockerServer")
255 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
260 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
267USTRUCT(BlueprintType, Category = "LootLockerServer")
274 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
279 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
284 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
291USTRUCT(BlueprintType, Category = "LootLockerServer")
298 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
303 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
308 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
309 TArray<FString> Keys;
315USTRUCT(BlueprintType, Category = "LootLockerServer")
322 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
327 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
332 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
337 int LOOTLOCKERSERVERSDK_API __INTERNAL_GetEntryIndexByKey(const FString& Key) const;
341 void LOOTLOCKERSERVERSDK_API __INTERNAL_GenerateKeyMap();
343 TMap<FString,
int> KeyToEntryIndex = TMap<FString,
int>();
353USTRUCT(BlueprintType, Category = "LootLockerServer")
360 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
365 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
372USTRUCT(BlueprintType, Category = "LootLockerServer")
379 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
389USTRUCT(BlueprintType, Category = "LootLockerServer")
396 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
401 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
406 int LOOTLOCKERSERVERSDK_API __INTERNAL_GetEntryIndexByKey(const FString Key) const;
410 void LOOTLOCKERSERVERSDK_API __INTERNAL_GenerateKeyMap();
412 TMap<FString,
int> KeyToEntryIndex = TMap<FString,
int>();
417USTRUCT(BlueprintType, Category = "LootLockerServer")
424 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
430USTRUCT(BlueprintType, Category = "LootLockerServer")
437 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
442 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
447 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
453USTRUCT(BlueprintType, Category = "LootLockerServer")
460 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
Definition LootLockerServerMetadataRequest.h:104
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67
Definition LootLockerServerMetadataRequest.h:250