Invoke named trigger events that grant server-configured rewards.
Triggers are created in the console and linked to reward payloads (assets, currency, progression points). Limited Triggers may be invoked at most N times per player — ideal for one-time milestones, achievements, or first-launch gifts. Unlimited Triggers can be invoked repeatedly for recurring rewards such as per-kill drops or ad-watch grants. Rewards are automatically granted to the player's inventory and wallets.
See the LootLocker documentation.
◆ FLootLockerInvokeTriggersByKeyResponseDelegate
C++ response delegate for invoking a set of triggers by key.
◆ ELootLockerTriggerFailureReasons
Possible reasons for a trigger key to fail.
| Enumerator |
|---|
| Trigger_limit_reached | |
| Key_not_found | |
| Reward_not_found | |
| Player_not_in_segment | |
◆ InvokeTriggersByKey()
Invoke triggers by key.
The response includes lists of executed trigger keys and failed triggers (with reasons); a successful request may still contain failures—inspect inner results.
- Parameters
-
| KeysToInvoke | Trigger keys to invoke |
| OnComplete | Delegate for handling the server response |
| ForPlayerWithUlid | Optional: Execute for the specified player ULID (default player if empty) |
- Returns
- A unique id for this request, use this to match callbacks to requests when you have multiple simultaneous requests outbound