Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

New way to read inventory?

$
0
0
I got this error on test, in the EasyAPI code (which I had updated to handle currently live changes but that hasn't been pushed to github or the store).

There is no argument that corresponds to the required formal parameter `items` of `IMyInventory.GetItems(List<IMyInventory>, Func<MyInventoryItem, bool>`)
Adjusting to use MyInventoryItem instead of IMyInventoryItem, error:

'MyInventoryItem' does not contain a definition for 'Content' and no extension method...​

New way to read inventory?

Viewing all articles
Browse latest Browse all 645

Trending Articles