mirror of
https://github.com/edubart/otclient.git
synced 2025-10-22 23:35:54 +02:00
Introduce 2 new functions to g_things
- g_things.findItemTypesByName - g_things.findItemTypesByString
This commit is contained in:
@@ -44,6 +44,8 @@ public:
|
||||
void addItemType(const ItemTypePtr& itemType);
|
||||
const ItemTypePtr& findItemTypeByClientId(uint16 id);
|
||||
const ItemTypePtr& findItemTypeByName(std::string name);
|
||||
ItemTypeList findItemTypesByName(std::string name);
|
||||
ItemTypeList findItemTypesByString(std::string str);
|
||||
|
||||
const ThingTypePtr& getNullThingType() { return m_nullThingType; }
|
||||
const ItemTypePtr& getNullItemType() { return m_nullItemType; }
|
||||
|
Reference in New Issue
Block a user