Player GetItems

;Usage
{items=[{item_id,item_type}], resources=[{quantity,item_type}]} = Player.GetItems()
;Examples:
<nowiki>
local Items = Player.GetItems();
for _, item in pairs(Items.items) do
 Game.GetItemInfoByType(item.item_type);
end
for _, resource in pairs(Items.resources) do
 Game.GetItemInfoByType(resource.item_type);
end
</nowiki>
Category:Addon_API