Introduce g_things.findItemTypeByName

This commit is contained in:
Allan Ference
2013-08-17 15:09:10 +02:00
parent 0451fd6b58
commit 5849136526
2 changed files with 9 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ public:
void addItemType(const ItemTypePtr& itemType);
const ItemTypePtr& findItemTypeByClientId(uint16 id);
const ItemTypePtr& findItemTypeByName(std::string name);
const ThingTypePtr& getNullThingType() { return m_nullThingType; }
const ItemTypePtr& getNullItemType() { return m_nullItemType; }