LootLocker Unreal Server SDK 6.5.0
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
Triggers

Detailed Description

Fire named trigger events on behalf of players from the server.

Triggers are console-configured events linked to reward payloads (assets, currency, progression points). Firing a trigger from the server awards the reward to the player authoritatively, preventing client-side abuse. Limited Triggers may fire at most N times per player; Unlimited Triggers support recurring rewards.

See the LootLocker documentation.

Function Documentation

◆ InvokeTriggerForPlayer()

static FString ULootLockerServerForCpp::InvokeTriggerForPlayer ( FString  TriggerName,
int  PlayerID,
const FLootLockerServerInvokeTriggerResponseDelegate OnCompletedRequest 
)
static

Trigger the requested trigger on behalf of the provided player.

To see the configured triggers for your game, go here: https://console.lootlocker.com/triggers

Parameters
TriggerNameThe name of the trigger to invoke for the provided player
PlayerIDThe ID of the player to invoke the trigger for
OnCompletedRequestDelegate for handling the server response
Returns
A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound

Functions

static FString ULootLockerServerForCpp::InvokeTriggerForPlayer (FString TriggerName, int PlayerID, const FLootLockerServerInvokeTriggerResponseDelegate &OnCompletedRequest)
 Trigger the requested trigger on behalf of the provided player.