This was what I found on the internet:
string myItemName = myItem.Content.SubtypeName.ToString()
But that doesn't work, it fails with the an error:
'MyInventoryItem' does not contain a definition for 'Content' and no extension method 'Content' accepting a first argument of type 'MyInventoryItem' could be found
I assume that something has changed. I tried to get the new property names via reflection, but that didn't work out because it's...
How to retrieve item name?
string myItemName = myItem.Content.SubtypeName.ToString()
But that doesn't work, it fails with the an error:
'MyInventoryItem' does not contain a definition for 'Content' and no extension method 'Content' accepting a first argument of type 'MyInventoryItem' could be found
I assume that something has changed. I tried to get the new property names via reflection, but that didn't work out because it's...
How to retrieve item name?