xxxxxxxxxx
// Unreal Engine (c++)
/* I recommend you to visit the documentation and read about this topic,
* Because it is complicated, delegates have a lot of types and you will
* need to understand and chose witch you will use. */
// Add before your class...
DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FOnAddCoins, int, CoinAmount);
// Inside of your class create your property, related of your delegate...
UPROPERTY(BlueprintAssignable, Category = "Wallet Events")
FOnAddCoins FOnAddCoins;