Item.name

Gets the name (not the custom name!) of the item.

class Item
pure nothrow @property @safe @nogc
string
name
()

Examples

if(item.name == "string")
   item.customName = "Special String";

Meta