LootLocker Unreal SDK 11.1.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
FLootLockerReferralInviteResponse Struct Reference

Response containing the calling player's referral code and their rewarded-referral count against each active program's cap. More...

#include <LootLockerReferralRequestHandler.h>

Inheritance diagram for FLootLockerReferralInviteResponse:
Collaboration diagram for FLootLockerReferralInviteResponse:

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.

Detailed Description

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.

Member Function Documentation

◆ PopulateConvenienceStructures()

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.

Field Documentation

◆ code

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.

◆ programs

TArray<FLootLockerReferralProgram> FLootLockerReferralInviteResponse::programs

The game's active referral programs, each with the player's progress against its cap.