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

Detailed Description

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.

Function Documentation

◆ ComputeAndLockDropTable()

static FString ULootLockerServerForCpp::ComputeAndLockDropTable ( int  PlayerID,
int  DropTableID,
const FLootLockerServerComputeAndLockDropTableResponseDelegate OnCompletedRequest 
)
static

Use this method to compute and lock the specified drop table item from the specified player's inventory.

Parameters
PlayerIDThe id of the player for whom to compute and lock the drop table
DropTableIDThe id of the drop table item to compute and lock
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

◆ ComputeAndLockDropTableForTag()

static FString ULootLockerServerForCpp::ComputeAndLockDropTableForTag ( int  PlayerID,
int  DropTableID,
const FString &  Tag,
const FLootLockerServerComputeAndLockDropTableResponseDelegate OnCompletedRequest 
)
static

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
PlayerIDThe id of the player for whom to compute and lock the drop table
DropTableIDThe id of the drop table item to compute and lock
TagWhich tag to limit drop table computation to
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

◆ ComputeAndLockDropTableForTagWithAssetInformation()

static FString ULootLockerServerForCpp::ComputeAndLockDropTableForTagWithAssetInformation ( int  PlayerID,
int  DropTableID,
const FString &  Tag,
const FLootLockerServerComputeAndLockDropTableResponseDelegate OnCompletedRequest 
)
static

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
PlayerIDThe id of the player for whom to compute and lock the drop table
DropTableIDThe id of the drop table item to compute and lock
TagWhich tag to limit drop table computation to
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

◆ ComputeAndLockDropTableWithAssetInformation()

static FString ULootLockerServerForCpp::ComputeAndLockDropTableWithAssetInformation ( int  PlayerID,
int  DropTableID,
const FLootLockerServerComputeAndLockDropTableResponseDelegate OnCompletedRequest 
)
static

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
PlayerIDThe id of the player for whom to compute and lock the drop table
DropTableIDThe id of the drop table item to compute and lock
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

◆ PickDropsFromDropTable()

static FString ULootLockerServerForCpp::PickDropsFromDropTable ( int  PlayerID,
int  DropTableID,
TArray< int >  DropTableItemIDsToPick,
const FLootLockerServerPickFromDropTableResponseDelegate OnCompletedRequest 
)
static

Pick drop table items from the specified drop table and player.

Parameters
PlayerIDThe id of the player for whom the drop table applies
DropTableIDThe id of the drop table from which to pick items
DropTableItemIDsToPickA list of drop table item ids to pick
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::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.