![]() |
LootLocker Unity SDK 8.0.0
Game backend SDK for Unity
|
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.
|
inlinestatic |
Invoke a set of triggers by key.
Note that the response contains two lists:
This means that the request can "succeed" but still contain triggers that failed. So make sure to check the inner results.
| KeysToInvoke | List of keys of the triggers to invoke |
| onComplete | onComplete Action for handling the server response |
| forPlayerWithUlid | Optional : Execute the request for the specified player. If not supplied, the default player will be used. |
Functions | |
| static void | LootLocker.Requests.LootLockerSDKManager.InvokeTriggersByKey (string[] KeysToInvoke, Action< LootLockerInvokeTriggersByKeyResponse > onComplete, string forPlayerWithUlid=null) |
| Invoke a set of triggers by key. | |