Response containing the calling player's referral code and their rewarded-referral count against each active program's cap. More...
#include <LootLockerReferralRequestHandler.h>


Public Member Functions | |
| void | PopulateConvenienceStructures () |
| Populate the convenience structures that FJsonObjectConverter cannot derive on its own, notably HasReferrerCap, which distinguishes an uncapped program from one capped at zero. | |
Data Fields | |
| FString | code = "" |
| The player's referral code, which is their public UID. | |
| TArray< FLootLockerReferralProgram > | programs |
| The game's active referral programs, each with the player's progress against its cap. | |
| Data Fields inherited from FLootLockerResponse | |
| bool | success = false |
| Whether this request was a success. | |
| int | StatusCode = 0 |
| HTTP Status code from the request to LootLockers backend. | |
| FString | FullTextFromServer = "" |
| Raw text/http body from the server response. | |
| FLootLockerErrorData | ErrorData |
| If this request was not a success, this structure holds all the information needed to identify the problem. | |
| FLootLockerRequestContext | Context |
| Context for the request. | |
Response containing the calling player's referral code and their rewarded-referral count against each active program's cap.
Use this to render an invite-a-friend screen.
| void FLootLockerReferralInviteResponse::PopulateConvenienceStructures | ( | ) |
Populate the convenience structures that FJsonObjectConverter cannot derive on its own, notably HasReferrerCap, which distinguishes an uncapped program from one capped at zero.
| FString FLootLockerReferralInviteResponse::code = "" |
The player's referral code, which is their public UID.
Share it so friends can supply it as the referral_code session optional.
| TArray<FLootLockerReferralProgram> FLootLockerReferralInviteResponse::programs |
The game's active referral programs, each with the player's progress against its cap.