5#include "CoreMinimal.h"
8#include "LootLockerReferralRequestHandler.generated.h"
19UENUM(BlueprintType, Category =
"LootLocker")
34UENUM(BlueprintType, Category =
"LootLocker")
51USTRUCT(BlueprintType, Category =
"LootLocker")
57 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
61 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
65 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
69 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
73 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
77 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
85USTRUCT(BlueprintType, Category =
"LootLocker")
91 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
95 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
99 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
103 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
107 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
111 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
115 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
119 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
123 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
135USTRUCT(BlueprintType, Category =
"LootLocker")
141 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
145 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
159USTRUCT(BlueprintType, Category =
"LootLocker")
165 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
169 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category =
"LootLocker")
ULLReferralRequestHandler()
Definition LootLockerReferralRequestHandler.h:201
static FString ListMyReferrals(const FLootLockerPlayerData &PlayerData, int32 Page, int32 PerPage, const FLootLockerReferralListResponseDelegate &OnCompletedRequest)
static FString GetInvite(const FLootLockerPlayerData &PlayerData, const FLootLockerReferralInviteResponseDelegate &OnCompletedRequest)
void(* FLootLockerReferralInviteResponseDelegate)(FLootLockerReferralInviteResponse)
C++ response callback delegate; receives an FLootLockerReferralInviteResponse result.
Definition LootLockerReferralRequestHandler.h:186
void(* FLootLockerReferralListResponseDelegate)(FLootLockerReferralListResponse)
C++ response callback delegate; receives an FLootLockerReferralListResponse result.
Definition LootLockerReferralRequestHandler.h:189
ELootLockerReferralStatus
The state of a referral relation.
Definition LootLockerReferralRequestHandler.h:36
ELootLockerReferralQualifier
The action that turns a claimed referral into a payout.
Definition LootLockerReferralRequestHandler.h:21
@ qualified
Definition LootLockerReferralRequestHandler.h:38
@ Void
Definition LootLockerReferralRequestHandler.h:39
@ claimed
Definition LootLockerReferralRequestHandler.h:37
@ entitlement_owned
Definition LootLockerReferralRequestHandler.h:23
@ session_started
Definition LootLockerReferralRequestHandler.h:22
@ game_asserted
Definition LootLockerReferralRequestHandler.h:24
@ publisher_currency_earned
Definition LootLockerReferralRequestHandler.h:25
Definition LootLockerPlayerData.h:12
Response containing the calling player's referral code and their rewarded-referral count against each...
Definition LootLockerReferralRequestHandler.h:137
TArray< FLootLockerReferralProgram > programs
The game's active referral programs, each with the player's progress against its cap.
Definition LootLockerReferralRequestHandler.h:146
FString code
The player's referral code, which is their public UID.
Definition LootLockerReferralRequestHandler.h:142
void PopulateConvenienceStructures()
Populate the convenience structures that FJsonObjectConverter cannot derive on its own,...
Response containing one page of the calling player's own referrals, newest first, including ones stil...
Definition LootLockerReferralRequestHandler.h:161
TArray< FLootLockerReferral > referrals
The player's referrals, newest first.
Definition LootLockerReferralRequestHandler.h:166
FLootLockerExtendedIndexBasedPagination pagination
Pagination information for the referrals.
Definition LootLockerReferralRequestHandler.h:170
void PopulateConvenienceStructures()
Populate the convenience structures that FJsonObjectConverter cannot derive on its own,...
One referral program as it applies to the inviting player: the program's identity,...
Definition LootLockerReferralRequestHandler.h:53
bool HasReferrerCap
True when the program has a referrer cap, in which case Referrer_cap holds it.
Definition LootLockerReferralRequestHandler.h:78
FString program_key
The game-unique machine key of the program.
Definition LootLockerReferralRequestHandler.h:58
FString name
The human-friendly display name of the program.
Definition LootLockerReferralRequestHandler.h:62
int32 referrer_cap
The maximum number of rewarded referrals this player may make under this program.
Definition LootLockerReferralRequestHandler.h:74
int32 referral_count
How many rewarded referrals the player has made under this program.
Definition LootLockerReferralRequestHandler.h:70
ELootLockerReferralQualifier qualifier
The action that turns a claimed referral into a payout.
Definition LootLockerReferralRequestHandler.h:66
One referral relation as the referring player sees it: the program it was made under,...
Definition LootLockerReferralRequestHandler.h:87
FString program_name
The human-friendly display name of the program.
Definition LootLockerReferralRequestHandler.h:100
bool HasQualifiedAt
True when the referral has qualified and Qualified_at holds the time.
Definition LootLockerReferralRequestHandler.h:120
FString program_key
The game-unique machine key of the program the referral was made under.
Definition LootLockerReferralRequestHandler.h:96
ELootLockerReferralStatus status
The state of the referral.
Definition LootLockerReferralRequestHandler.h:108
FString referee_public_uid
The referred player's public UID.
Definition LootLockerReferralRequestHandler.h:104
FDateTime claimed_at
When the referral was claimed.
Definition LootLockerReferralRequestHandler.h:112
FDateTime qualified_at
When the referral qualified.
Definition LootLockerReferralRequestHandler.h:116
bool HasRefereePublicUid
True when the referee's game-player row still exists, in which case Referee_public_uid holds their UI...
Definition LootLockerReferralRequestHandler.h:124
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19