question

hasibthenewb avatar image
hasibthenewb asked

how to subtract users virtual currency in unreal engine?

i want to know how to subtract users' virtual currency in unreal engine? is there any documentation for unreal engine playfab SDK nodes ??

Player DataPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Neils Shi avatar image
Neils Shi answered

If you are using Legacy Economy, you can call API SubtractUserVirtualCurrency to subtract users’ virtual currency. In Economy v2, you can use API SubtractInventoryItems to subtract users’ virtual currency. And for more information about how to call PlayFab from Unreal Blueprints, you can refer to https://learn.microsoft.com/en-us/gaming/playfab/sdks/unreal/quickstart#calling-playfab-from-unreal-blueprints .

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.