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")
125 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
146 LOOTLOCKERSERVERSDK_API
bool TryGetRawValue(TSharedPtr<FJsonValue>& Output) const;
183 LOOTLOCKERSERVERSDK_API
void SetRawValue(const TSharedPtr<FJsonValue>& Value);
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")
315USTRUCT(BlueprintType, Category =
"LootLockerServer")
322 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
327 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
332 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLockerServer")
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")
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
bool TryGetSerializedValue(FString &Output) const
bool TryGetValueAsString(FString &Output) const
void _INTERNAL_SetJsonRepresentation(const FJsonObject &obj)
static FLootLockerServerMetadataEntry MakeFloatEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const float &Value)
void SetValueAsFloat(const float &Value)
void SetValueAsString(const FString &Value)
bool TryGetValueAsBase64(FLootLockerServerMetadataBase64Value &Output) const
void SetValueAsJsonObject(const FJsonObject &Value)
bool TryGetRawValue(TSharedPtr< FJsonValue > &Output) const
ELootLockerServerMetadataTypes Type
The type of value this metadata contains.
Definition LootLockerServerMetadataRequest.h:115
bool TryGetValueAsJsonObject(TSharedPtr< FJsonObject > &Output) const
static FLootLockerServerMetadataEntry MakeJsonObjectEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const FJsonObject &Value)
bool TryGetValueAsInteger(int &Output) const
bool SetValueAsUStruct(const T &Value)
TArray< FString > Access
The access level set for this metadata entry.
Definition LootLockerServerMetadataRequest.h:126
bool TryGetValueAsBool(bool &Output) const
bool TryGetValueAsFloat(float &Output) const
bool TryGetValueAsJsonArray(TArray< TSharedPtr< FJsonValue > > &Output) const
static FLootLockerServerMetadataEntry MakeIntegerEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const int Value)
FString Key
The metadata key.
Definition LootLockerServerMetadataRequest.h:110
static FLootLockerServerMetadataEntry MakeBase64Entry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const FLootLockerServerMetadataBase64Value &Value)
static FLootLockerServerMetadataEntry _INTERNAL_MakeEntryExceptValue(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const ELootLockerServerMetadataTypes Type)
void SetValueAsInteger(const int &Value)
void SetValueAsJsonArray(const TArray< TSharedPtr< FJsonValue > > &Value)
void SetValueAsBool(const bool &Value)
TArray< FString > Tags
List of tags applied to this metadata.
Definition LootLockerServerMetadataRequest.h:120
static FLootLockerServerMetadataEntry MakeStringEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const FString &Value)
void SetRawValue(const TSharedPtr< FJsonValue > &Value)
static FLootLockerServerMetadataEntry MakeJsonArrayEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const TArray< TSharedPtr< FJsonValue > > &Value)
void SetValueAsBase64(const FLootLockerServerMetadataBase64Value &Value)
static FLootLockerServerMetadataEntry MakeBoolEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const bool Value)
static FLootLockerServerMetadataEntry MakeJsonValueEntry(const FString &Key, const TArray< FString > &Tags, const TArray< FString > &Access, const ELootLockerServerMetadataTypes Type, const TSharedPtr< FJsonValue > Value)
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67
Definition LootLockerServerMetadataRequest.h:250
FString Key
The metadata key that the set operation error refers to.
Definition LootLockerServerMetadataRequest.h:256
ELootLockerServerMetadataTypes Type
The type of value that the set operation was for.
Definition LootLockerServerMetadataRequest.h:261