LootLocker Unreal Server SDK 7.1.1
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerServerGameProgressionRequest.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5#include "Containers/Array.h"
6#include "CoreMinimal.h"
9
10#include "LootLockerServerGameProgressionRequest.generated.h"
11
12//==================================================
13// Data Type Definitions
14//==================================================
15
16USTRUCT(BlueprintType)
18{
19 GENERATED_BODY()
23 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
24 FString Id = "";
28 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
29 FString Key = "";
33 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
34 FString Name = "";
38 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
39 bool Active = false;
40};
41
42//==================================================
43// Response Definitions
44//==================================================
45
46USTRUCT(BlueprintType)
48{
49 GENERATED_BODY()
53 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
58 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
60};
61
62USTRUCT(BlueprintType)
64{
65 GENERATED_BODY()
69 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
70 FString Id = "";
74 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
75 FString Key = "";
79 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
80 FString Name = "";
84 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
85 bool Active = false;
86};
87
88USTRUCT(BlueprintType)
90{
91 GENERATED_BODY()
95 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
100 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
102};
103
104//==================================================
105// C++ Delegate Definitions
106//==================================================
107/*
108 C++ response delegate for listing game progression
109 */
111/*
112 C++ response delegate for receiving a single game progression
113 */
115/*
116 C++ response delegate for receiving the tiers of a single game progression
117 */
119
123
124UCLASS()
125class LOOTLOCKERSERVERSDK_API ULootLockerServerGameProgressionRequest : public UObject
126{
127 GENERATED_BODY()
128 public:
130
132 static FString GetPaginatedProgressions(int32 Count, const FString& After, const FLootLockerServerGameProgressionListResponseDelegate& OnCompletedRequest);
133 static FString GetProgressionByKey(const FString& ProgressionKey, const FLootLockerServerSingleGameProgressionResponseDelegate& OnCompletedRequest);
134 static FString GetTiersForProgression(const FString& ProgressionKey, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
135 static FString GetPaginatedTiersForProgression(const FString& ProgressionKey, int32 Count, int32 After, const FLootLockerServerProgressionTiersResponseDelegate& OnCompletedRequest);
136};
void(* FLootLockerServerProgressionTiersResponseDelegate)(FLootLockerServerProgressionTiersResponse)
Definition LootLockerServerGameProgressionRequest.h:118
void(* FLootLockerServerSingleGameProgressionResponseDelegate)(FLootLockerServerSingleGameProgressionResponse)
Definition LootLockerServerGameProgressionRequest.h:114
void(* FLootLockerServerGameProgressionListResponseDelegate)(FLootLockerServerGameProgressionListResponse)
Definition LootLockerServerGameProgressionRequest.h:110
static FString GetPaginatedTiersForProgression(const FString &ProgressionKey, int32 Count, int32 After, const FLootLockerServerProgressionTiersResponseDelegate &OnCompletedRequest)
static FString GetProgressionByKey(const FString &ProgressionKey, const FLootLockerServerSingleGameProgressionResponseDelegate &OnCompletedRequest)
static FString GetPaginatedProgressions(int32 Count, const FString &After, const FLootLockerServerGameProgressionListResponseDelegate &OnCompletedRequest)
static FString GetProgressions(const FLootLockerServerGameProgressionListResponseDelegate &OnCompletedRequest=FLootLockerServerGameProgressionListResponseDelegate())
static FString GetTiersForProgression(const FString &ProgressionKey, const FLootLockerServerProgressionTiersResponseDelegate &OnCompletedRequest)
Definition LootLockerServerGameProgressionRequest.h:48
TArray< FLootLockerServerGameProgression > Items
List of game progressions according to the current pagination settings.
Definition LootLockerServerGameProgressionRequest.h:59
FLootLockerServerKeyBasedPagination Pagination
The current pagination data of the requested data.
Definition LootLockerServerGameProgressionRequest.h:54
Definition LootLockerServerGameProgressionRequest.h:18
bool Active
Whether this progression is active.
Definition LootLockerServerGameProgressionRequest.h:39
FString Name
The name of the progression.
Definition LootLockerServerGameProgressionRequest.h:34
FString Key
The key of the progression.
Definition LootLockerServerGameProgressionRequest.h:29
FString Id
The id of the progression.
Definition LootLockerServerGameProgressionRequest.h:24
Pagination data for index based pagination This is used for methods that have a "count" and an "after...
Definition LootLockerServerResponse.h:131
Pagination data for key based pagination This is used for methods that have a "count" and an "after" ...
Definition LootLockerServerResponse.h:106
Definition LootLockerServerProgressionGenericTypes.h:135
Definition LootLockerServerGameProgressionRequest.h:90
TArray< FLootLockerServerProgressionTier > Items
A list of the tiers that are in this progression according to the current pagination settings.
Definition LootLockerServerGameProgressionRequest.h:101
FLootLockerServerIndexBasedPagination Pagination
The current pagination data of the requested data.
Definition LootLockerServerGameProgressionRequest.h:96
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67
Definition LootLockerServerGameProgressionRequest.h:64
bool Active
Whether this progression is active.
Definition LootLockerServerGameProgressionRequest.h:85
FString Id
The id of the progression.
Definition LootLockerServerGameProgressionRequest.h:70
FString Key
The key of the progression.
Definition LootLockerServerGameProgressionRequest.h:75
FString Name
The name of the progression.
Definition LootLockerServerGameProgressionRequest.h:80