YOM Replicator SDK 0.8.0.0
A metaverse SDK created by YOM
Loading...
Searching...
No Matches
UYomAirdropBPFunctions Class Reference

Detailed Description

A BlueprintFunctionLibrary for the airdropping system.

Inheritance diagram for UYomAirdropBPFunctions:

Static Public Member Functions

Blueprint Functions
static void AirdropItemForPlayer (AYomPlayer *pPlayer, const FString &pItemID, FOnInvetoryAirdropItem pInventoryAirdropItemCallback)
 A BlueprintCallable function that airdrops a blockchain item for a player This function MUST run on the server, as the server controls how items are loaded. More...
 

Member Function Documentation

◆ AirdropItemForPlayer()

void UYomAirdropBPFunctions::AirdropItemForPlayer ( AYomPlayer Player,
const FString &  ItemID,
FOnInvetoryAirdropItem  pInventoryAirdropItemCallback 
)
static

A BlueprintCallable function that airdrops a blockchain item for a player This function MUST run on the server, as the server controls how items are loaded.

Parameters
PlayerThe player to airdrop the item to
ItemIDThe itemID of the item to airdrop for the player, MUST be the same as on the airdrop backend
pInventoryAirdropItemCallbackthe callback that will be called when airdrop happens