LootLocker Unreal SDK 10.6.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerPlatformKeyRequestHandler.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5
6#include "CoreMinimal.h"
9#include "LootLockerPlatformKeyRequestHandler.generated.h"
10
11//==================================================
12// Data Type Definitions
13//==================================================
14
18USTRUCT(BlueprintType, Category = "LootLocker")
20{
21 GENERATED_BODY()
25 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
26 FString Name = "";
30 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
31 FString Platform = "";
32};
33
37USTRUCT(BlueprintType, Category = "LootLocker")
39{
40 GENERATED_BODY()
44 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
49 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
50 FString Key = "";
51};
52
53//==================================================
54// Request Definitions
55//==================================================
56
57// N/A
58
59//==================================================
60// Response Definitions
61//==================================================
62
66USTRUCT(BlueprintType, Category = "LootLocker")
68{
69 GENERATED_BODY()
73 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
74 TArray<FLootLockerPlatformKey> Platform_Keys;
75};
76
77//==================================================
78// Delegate Definitions
79//==================================================
80
83
87
89
90//==================================================
91// API Class Definition
92//==================================================
93
94UCLASS()
95class LOOTLOCKERSDK_API ULootLockerPlatformKeyRequestHandler : public UObject
96{
97 GENERATED_BODY()
98public:
100
101 static FString ListPlatformKeys(const FLootLockerPlayerData& PlayerData, const FLootLockerListPlatformKeysResponseDelegate& OnResponseCompleted);
102};
Definition LootLockerPlatformKeyRequestHandler.h:96
static FString ListPlatformKeys(const FLootLockerPlayerData &PlayerData, const FLootLockerListPlatformKeysResponseDelegate &OnResponseCompleted)
ULootLockerPlatformKeyRequestHandler()
Definition LootLockerPlatformKeyRequestHandler.h:99
void(* FLootLockerListPlatformKeysResponseDelegate)(FLootLockerListPlatformKeysResponse)
C++ response delegate for listing platform keys.
Definition LootLockerPlatformKeyRequestHandler.h:86
Response containing the list of platform keys redeemed by the authenticated player.
Definition LootLockerPlatformKeyRequestHandler.h:68
Information about the campaign associated with a platform key.
Definition LootLockerPlatformKeyRequestHandler.h:20
A platform key redeemed by the player.
Definition LootLockerPlatformKeyRequestHandler.h:39
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19