LootLocker Unreal SDK 10.7.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerLeaderboardArchiveRequestHandler.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5
6#include "CoreMinimal.h"
9
10#include "LootLockerLeaderboardArchiveRequestHandler.generated.h"
11
12USTRUCT(BlueprintType)
14{
15 GENERATED_BODY()
17 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
18 FString name = "";
20 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
21 FString public_uid = "";
23 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
24 int id = 0;
26 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
27 FString player_ulid = "";
28};
29
30USTRUCT(BlueprintType)
32{
33 GENERATED_BODY()
35 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
38 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
39 FString metadata = "";
41 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
42 FString member_id = "";
44 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
45 int rank = 0;
47 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
48 int score = 0;
49};
50
51USTRUCT(BlueprintType)
53{
54 GENERATED_BODY()
56 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
57 FString last_modified = "";
59 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
60 FString content_type = "";
62 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
63 FString key = "";
65 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
67};
68
69USTRUCT(BlueprintType)
71{
72 GENERATED_BODY()
74 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
76};
77
78USTRUCT(BlueprintType)
80{
81 GENERATED_BODY()
83 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
85};
86
89
93
94
96UCLASS()
97class LOOTLOCKERSDK_API ULootLockerLeaderboardArchiveRequestHandler : public UObject
98{
99 GENERATED_BODY()
100public:
102
103 static FString ListLeaderboardArchive(const FLootLockerPlayerData& PlayerData, const FString& LeaderboardKey, const FLootLockerLeaderboardArchiveResponseDelegate& OnCompletedRequest);
104 static FString GetLeaderboardArchive(const FLootLockerPlayerData& PlayerData, const FString& Key, int Count, const FString& After, const FLootLockerLeaderboardArchiveDetailResponseDelegate& OnCompletedRequest);
105};
static FString GetLeaderboardArchive(const FLootLockerPlayerData &PlayerData, const FString &Key, int Count, const FString &After, const FLootLockerLeaderboardArchiveDetailResponseDelegate &OnCompletedRequest)
static FString ListLeaderboardArchive(const FLootLockerPlayerData &PlayerData, const FString &LeaderboardKey, const FLootLockerLeaderboardArchiveResponseDelegate &OnCompletedRequest)
ULootLockerLeaderboardArchiveRequestHandler()
Definition LootLockerLeaderboardArchiveRequestHandler.h:101
void(* FLootLockerLeaderboardArchiveDetailResponseDelegate)(FLootLockerLeaderboardArchiveDetailsResponse)
C++ response callback delegate; receives an FLootLockerLeaderboardArchiveDetailsResponse result.
Definition LootLockerLeaderboardArchiveRequestHandler.h:92
void(* FLootLockerLeaderboardArchiveResponseDelegate)(FLootLockerLeaderboardArchiveResponse)
C++ response callback delegate; receives an FLootLockerLeaderboardArchiveResponse result.
Definition LootLockerLeaderboardArchiveRequestHandler.h:90
Definition LootLockerLeaderboardArchiveRequestHandler.h:71
TArray< FLootLockerLeaderboardArchiveDetails > items
A list of players and details from the archived Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:75
Definition LootLockerLeaderboardArchiveRequestHandler.h:32
int score
The Player's Score on the archived Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:48
FString metadata
Metadata if any was supplied.
Definition LootLockerLeaderboardArchiveRequestHandler.h:39
FString member_id
The Player's member ID on the Archived Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:42
int rank
The Player's rank on the archived Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:45
FLootLockerLeaderboardArchivePlayer player
The Player on the archived Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:36
Definition LootLockerLeaderboardArchiveRequestHandler.h:14
FString name
The name of the Player.
Definition LootLockerLeaderboardArchiveRequestHandler.h:18
FString public_uid
The Public UID of the Player.
Definition LootLockerLeaderboardArchiveRequestHandler.h:21
FString player_ulid
The ULID of the Player.
Definition LootLockerLeaderboardArchiveRequestHandler.h:27
Definition LootLockerLeaderboardArchiveRequestHandler.h:80
TArray< FLootLockerLeaderboardArchive > archives
A List of past Leaderboards.
Definition LootLockerLeaderboardArchiveRequestHandler.h:84
Definition LootLockerLeaderboardArchiveRequestHandler.h:53
FString content_type
The type of content (application/json).
Definition LootLockerLeaderboardArchiveRequestHandler.h:60
int content_length
Length of the archived Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:66
FString key
The Key which is used to identify a json body of an old Leaderboard.
Definition LootLockerLeaderboardArchiveRequestHandler.h:63
FString last_modified
The date when the archived Leaderboard was modified.
Definition LootLockerLeaderboardArchiveRequestHandler.h:57
Definition LootLockerPlayerData.h:12
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19