×

GetAllItemsDetails

 

The "GetAllItemsDetails" event is used to get the all items details like the name or a picture and the ID.

If you want the Category or the SubCategory of an item, please use the "GetCategoryAndSubcategoryByItemID" event is used to get the item category and subcategory of item by a item ID who can be retrieve on "GetAllItemsDetails" , is used to prevent the crash of the Item details structure.

 

To get all item details , you can use the “GetAllItemsDetails” interface with the following inputs:

  • Target = The “PlayerCode” reference from the “Get player” function
  • OnlyBuyable = If checked, then only purchasable items are shown, excluding shelves or decorations; otherwise, give a list of all items.

 

and the function returns the following parameters:

  • Details’ = A array of a structure which gives access to the variables of the game (via the "break" function) allowing to know the information of the data table on the items.