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

One referral program as it applies to the inviting player: the program's identity, the action that qualifies a referral, and how many rewarded referrals the player has against the program's cap. More...

#include <LootLockerReferralRequestHandler.h>

Data Fields

FString program_key = ""
 The game-unique machine key of the program.
FString name = ""
 The human-friendly display name of the program.
ELootLockerReferralQualifier qualifier = ELootLockerReferralQualifier::session_started
 The action that turns a claimed referral into a payout.
int32 referral_count = 0
 How many rewarded referrals the player has made under this program.
int32 referrer_cap = 0
 The maximum number of rewarded referrals this player may make under this program.
bool HasReferrerCap = false
 True when the program has a referrer cap, in which case Referrer_cap holds it.

Detailed Description

One referral program as it applies to the inviting player: the program's identity, the action that qualifies a referral, and how many rewarded referrals the player has against the program's cap.

Field Documentation

◆ HasReferrerCap

bool FLootLockerReferralProgram::HasReferrerCap = false

True when the program has a referrer cap, in which case Referrer_cap holds it.

False means the program is uncapped.

◆ name

FString FLootLockerReferralProgram::name = ""

The human-friendly display name of the program.

◆ program_key

FString FLootLockerReferralProgram::program_key = ""

The game-unique machine key of the program.

◆ qualifier

The action that turns a claimed referral into a payout.

◆ referral_count

int32 FLootLockerReferralProgram::referral_count = 0

How many rewarded referrals the player has made under this program.

◆ referrer_cap

int32 FLootLockerReferralProgram::referrer_cap = 0

The maximum number of rewarded referrals this player may make under this program.

Only meaningful when HasReferrerCap is true.