LootLocker Unreal Server SDK 7.1.1
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerServerReferralRequest.h
Go to the documentation of this file.
1#pragma once
2
3#include "CoreMinimal.h"
5#include "LootLockerServerReferralRequest.generated.h"
6
7//==================================================
8// Enum Definitions
9//==================================================
10
14UENUM(BlueprintType, Category = "LootLockerServer")
16{
19 Void = 2,
20};
21
22//==================================================
23// Data Type Definitions
24//==================================================
25
29USTRUCT(BlueprintType, Category = "LootLockerServer")
31{
32 GENERATED_BODY()
36 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
37 FString Id = "";
41 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
42 FString Program_id = "";
46 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
47 FString Referrer_player_id = "";
51 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
52 FString Referee_player_id = "";
56 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
57 FString Referee_identity_id = "";
61 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
62 FString Code = "";
66 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
71 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
72 FDateTime Claimed_at = FDateTime(0);
76 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
77 FDateTime Qualified_at = FDateTime(0);
81 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
82 bool HasQualifiedAt = false;
86 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
87 FDateTime Created_at = FDateTime(0);
91 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
92 FDateTime Updated_at = FDateTime(0);
96 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
97 bool HasUpdatedAt = false;
98};
99
100//==================================================
101// Response Definitions
102//==================================================
103
108USTRUCT(BlueprintType, Category = "LootLockerServer")
110{
111 GENERATED_BODY()
115 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLockerServer")
117
123};
124
125//==================================================
126// C++ Delegate Definitions
127//==================================================
128
133
134//==================================================
135// API Class Definition
136//==================================================
137
138UCLASS()
139class LOOTLOCKERSERVERSDK_API ULootLockerServerReferralRequest : public UObject
140{
141 GENERATED_BODY()
142public:
144
154 static FString AssertPlayerReferralQualification(const FString& PlayerULID, const FLootLockerServerAssertReferralResponseDelegate& OnCompletedRequest);
155};
ELootLockerServerReferralStatus
The state of a referral relation.
Definition LootLockerServerReferralRequest.h:16
@ qualified
Definition LootLockerServerReferralRequest.h:18
@ Void
Definition LootLockerServerReferralRequest.h:19
@ claimed
Definition LootLockerServerReferralRequest.h:17
void(* FLootLockerServerAssertReferralResponseDelegate)(FLootLockerServerAssertReferralResponse)
C++ response delegate for asserting a player's referral qualification.
Definition LootLockerServerReferralRequest.h:132
static FString AssertPlayerReferralQualification(const FString &PlayerULID, const FLootLockerServerAssertReferralResponseDelegate &OnCompletedRequest)
Report that a player met the qualifying action of their game_asserted referral program(s).
Response containing the referrals that the assert qualified and rewarded.
Definition LootLockerServerReferralRequest.h:110
void PopulateConvenienceStructures()
Populate the convenience structures that FJsonObjectConverter cannot derive on its own,...
TArray< FLootLockerServerReferral > Referrals
The referrals that were qualified by this assert.
Definition LootLockerServerReferralRequest.h:116
One referral relation as the server sees it: the program it was made under, both players,...
Definition LootLockerServerReferralRequest.h:31
FString Referee_identity_id
The ULID of the cross-game identity the referral is deduplicated on.
Definition LootLockerServerReferralRequest.h:57
FString Referee_player_id
The ULID of the player who was invited.
Definition LootLockerServerReferralRequest.h:52
FString Id
The referral ULID.
Definition LootLockerServerReferralRequest.h:37
FDateTime Created_at
When the referral row was created.
Definition LootLockerServerReferralRequest.h:87
FDateTime Updated_at
When the referral row was last updated.
Definition LootLockerServerReferralRequest.h:92
FDateTime Qualified_at
When the referral qualified.
Definition LootLockerServerReferralRequest.h:77
FString Program_id
The ULID of the referral program the referral was made under.
Definition LootLockerServerReferralRequest.h:42
FDateTime Claimed_at
When the referral was claimed.
Definition LootLockerServerReferralRequest.h:72
bool HasQualifiedAt
True when the referral has qualified and Qualified_at holds the time.
Definition LootLockerServerReferralRequest.h:82
FString Code
The referral code that was redeemed, which is the referrer's public UID.
Definition LootLockerServerReferralRequest.h:62
bool HasUpdatedAt
True when the referral row has been updated and Updated_at holds the time.
Definition LootLockerServerReferralRequest.h:97
FString Referrer_player_id
The ULID of the player who invited.
Definition LootLockerServerReferralRequest.h:47
ELootLockerServerReferralStatus Status
The state of the referral.
Definition LootLockerServerReferralRequest.h:67
The base response for all LootLocker Server responses.
Definition LootLockerServerResponse.h:67