question

Robyn To avatar image
Robyn To asked

EconomyV2 Non Stackable Item

What is the recommendation for creating a non-stackable item in EconomyV2? Should I add a DisplayProperty in the catalog and look that up the property whenever I have an AddItem call?

apis
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

Display Properties are custom item properties that can be added to all items in your catalog. According to your scenario, you can use Display Properties to distinguish whether items are stacked or not. If your game's backpack capacity is unlimited, you don't have to check the property every time when you call AddItem. If not, you may need to check the property depending on the specific needs of your game.

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.