/* core/item.cc This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2 */ #include "core/item.h" namespace core { ItemClass::ItemClass(const char *label) { if (label) { itemclass_label.assign(label); } else { itemclass_label.clear(); } } ItemType::ItemType(const char *label) { if (label) { itemtype_label.assign(label); } else { itemtype_label.clear(); } itemtype_baseprice = 0; } }