question

Ozan Yilmaz avatar image
Ozan Yilmaz asked

Does GrantItemsToUser create Purchase Date?

Hello everyone,

We need to sort the players' inventories by when they get the items. In our game, we sometimes give players to items by the "GrantItemsToUser" function. There is no purchasing in this case. Does that function creates a purchase date or is the date null in that case?

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

·
Seth Du avatar image
Seth Du answered

The PurchaseDate will store the date that this item is granted to the player and it doesn’t matter how this item is granted. You may call GetUserInventory API to testify it.

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.