Server-side evaluation and claiming of weighted loot rolls.
Evaluate drop-table assets on the server and grant results to a player's inventory. Drop Tables are configured in the console with weighted groups, guaranteed picks, and per-group tag filters. Running the evaluation on the server prevents client-side tampering of loot outcomes.
See the LootLocker documentation.
◆ ComputeAndLockDropTable()
Use this method to compute and lock the specified drop table item from the specified player's inventory.
- Parameters
-
| PlayerID | The id of the player for whom to compute and lock the drop table |
| DropTableID | The id of the drop table item to compute and lock |
| OnCompletedRequest | Delegate 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
◆ ComputeAndLockDropTableForTag()
Use this method to compute and lock the specified drop table item from the specified player's inventory, but only use items with the specified tag.
- Parameters
-
| PlayerID | The id of the player for whom to compute and lock the drop table |
| DropTableID | The id of the drop table item to compute and lock |
| Tag | Which tag to limit drop table computation to |
| OnCompletedRequest | Delegate 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
◆ ComputeAndLockDropTableForTagWithAssetInformation()
Use this method to compute and lock the specified drop table item from the specified player's inventory, but only use items with the specified tag and include the full asset information in the response.
- Parameters
-
| PlayerID | The id of the player for whom to compute and lock the drop table |
| DropTableID | The id of the drop table item to compute and lock |
| Tag | Which tag to limit drop table computation to |
| OnCompletedRequest | Delegate 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
◆ ComputeAndLockDropTableWithAssetInformation()
Use this method to compute and lock the specified drop table item from the specified player's inventory and include the full asset information in the response.
- Parameters
-
| PlayerID | The id of the player for whom to compute and lock the drop table |
| DropTableID | The id of the drop table item to compute and lock |
| OnCompletedRequest | Delegate 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
◆ PickDropsFromDropTable()
Pick drop table items from the specified drop table and player.
- Parameters
-
| PlayerID | The id of the player for whom the drop table applies |
| DropTableID | The id of the drop table from which to pick items |
| DropTableItemIDsToPick | A list of drop table item ids to pick |
| OnCompletedRequest | Delegate 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
|
| static FString | ULootLockerServerForCpp::ComputeAndLockDropTable (int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest) |
| | Use this method to compute and lock the specified drop table item from the specified player's inventory.
|
| |
| static FString | ULootLockerServerForCpp::ComputeAndLockDropTableForTag (int PlayerID, int DropTableID, const FString &Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest) |
| | Use this method to compute and lock the specified drop table item from the specified player's inventory, but only use items with the specified tag.
|
| |
| static FString | ULootLockerServerForCpp::ComputeAndLockDropTableWithAssetInformation (int PlayerID, int DropTableID, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest) |
| | Use this method to compute and lock the specified drop table item from the specified player's inventory and include the full asset information in the response.
|
| |
| static FString | ULootLockerServerForCpp::ComputeAndLockDropTableForTagWithAssetInformation (int PlayerID, int DropTableID, const FString &Tag, const FLootLockerServerComputeAndLockDropTableResponseDelegate &OnCompletedRequest) |
| | Use this method to compute and lock the specified drop table item from the specified player's inventory, but only use items with the specified tag and include the full asset information in the response.
|
| |
| static FString | ULootLockerServerForCpp::PickDropsFromDropTable (int PlayerID, int DropTableID, TArray< int > DropTableItemIDsToPick, const FLootLockerServerPickFromDropTableResponseDelegate &OnCompletedRequest) |
| | Pick drop table items from the specified drop table and player.
|
| |