2013-12-20 19:02:42 +00:00
|
|
|
|
#include "referenceablecheck.hpp"
|
|
|
|
|
|
|
|
|
|
#include <sstream>
|
|
|
|
|
#include <map>
|
|
|
|
|
#include <cassert>
|
|
|
|
|
|
|
|
|
|
#include "../world/record.hpp"
|
|
|
|
|
|
|
|
|
|
#include "../world/universalid.hpp"
|
|
|
|
|
|
|
|
|
|
CSMTools::ReferenceableCheckStage::ReferenceableCheckStage(const CSMWorld::RefIdData& referenceable) :
|
|
|
|
|
mReferencables(referenceable),
|
2013-12-20 21:31:17 +00:00
|
|
|
|
mBooksSize(0),
|
2013-12-21 10:02:58 +00:00
|
|
|
|
mActivatorsSize(0),
|
2013-12-21 11:07:40 +00:00
|
|
|
|
mPotionsSize(0),
|
2013-12-22 13:22:03 +00:00
|
|
|
|
mApparatiSize(0),
|
2013-12-22 13:32:42 +00:00
|
|
|
|
mArmorsSzie(0),
|
2013-12-22 13:35:40 +00:00
|
|
|
|
mClothingSize(0),
|
2013-12-22 13:46:07 +00:00
|
|
|
|
mContainersSize(0),
|
|
|
|
|
mCreaturesSize(0)
|
2013-12-20 19:02:42 +00:00
|
|
|
|
{
|
|
|
|
|
setSizeVariables();
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-21 11:07:40 +00:00
|
|
|
|
void CSMTools::ReferenceableCheckStage::setSizeVariables()
|
|
|
|
|
{
|
|
|
|
|
mBooksSize = mReferencables.getBooks().getSize();
|
|
|
|
|
mActivatorsSize = mReferencables.getActivators().getSize();
|
|
|
|
|
mPotionsSize = mReferencables.getPotions().getSize();
|
|
|
|
|
mApparatiSize = mReferencables.getApparati().getSize();
|
2013-12-22 13:22:03 +00:00
|
|
|
|
mArmorsSzie = mReferencables.getArmors().getSize();
|
2013-12-22 13:32:42 +00:00
|
|
|
|
mClothingSize = mReferencables.getClothing().getSize();
|
2013-12-22 13:35:40 +00:00
|
|
|
|
mContainersSize = mReferencables.getContainers().getSize();
|
2013-12-22 13:46:07 +00:00
|
|
|
|
mCreaturesSize = mReferencables.getCreatures().getSize();
|
2013-12-21 11:07:40 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-12-20 19:02:42 +00:00
|
|
|
|
void CSMTools::ReferenceableCheckStage::perform(int stage, std::vector< std::string >& messages)
|
|
|
|
|
{
|
2013-12-20 21:31:17 +00:00
|
|
|
|
//Checks for books, than, when stage is above mBooksSize goes to other checks, with (stage - PrevSum) as stage.
|
2013-12-21 14:40:39 +00:00
|
|
|
|
if (stage < mBooksSize)
|
2013-12-20 21:31:17 +00:00
|
|
|
|
{
|
|
|
|
|
bookCheck(stage, mReferencables.getBooks(), messages);
|
2013-12-20 19:02:42 +00:00
|
|
|
|
return;
|
|
|
|
|
}
|
2013-12-21 10:15:46 +00:00
|
|
|
|
|
2013-12-21 10:01:40 +00:00
|
|
|
|
stage -= mBooksSize;
|
2013-12-21 10:15:46 +00:00
|
|
|
|
|
2013-12-21 14:40:39 +00:00
|
|
|
|
if (stage < mActivatorsSize)
|
2013-12-20 21:31:17 +00:00
|
|
|
|
{
|
2013-12-21 10:01:40 +00:00
|
|
|
|
activatorCheck(stage, mReferencables.getActivators(), messages);
|
2013-12-21 10:15:46 +00:00
|
|
|
|
return;
|
2013-12-20 21:31:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-12-21 10:15:46 +00:00
|
|
|
|
stage -= mActivatorsSize;
|
|
|
|
|
|
2013-12-21 14:40:39 +00:00
|
|
|
|
if (stage < mPotionsSize)
|
2013-12-20 21:31:17 +00:00
|
|
|
|
{
|
2013-12-21 11:07:40 +00:00
|
|
|
|
potionCheck(stage, mReferencables.getPotions(), messages);
|
2013-12-20 21:31:17 +00:00
|
|
|
|
return;
|
|
|
|
|
}
|
2013-12-21 10:15:46 +00:00
|
|
|
|
|
|
|
|
|
stage -= mPotionsSize;
|
2013-12-22 13:22:03 +00:00
|
|
|
|
|
2013-12-21 14:40:39 +00:00
|
|
|
|
if (stage < mApparatiSize)
|
2013-12-21 11:07:40 +00:00
|
|
|
|
{
|
2013-12-22 13:22:03 +00:00
|
|
|
|
apparatusCheck(stage, mReferencables.getApparati(), messages);
|
|
|
|
|
return;
|
2013-12-21 11:07:40 +00:00
|
|
|
|
}
|
2013-12-22 13:22:03 +00:00
|
|
|
|
|
2013-12-21 11:07:40 +00:00
|
|
|
|
stage -= mApparatiSize;
|
2013-12-22 13:22:03 +00:00
|
|
|
|
|
|
|
|
|
if (stage < mArmorsSzie)
|
|
|
|
|
{
|
|
|
|
|
armorCheck(stage, mReferencables.getArmors(), messages);
|
|
|
|
|
return;
|
|
|
|
|
}
|
2013-12-22 13:32:42 +00:00
|
|
|
|
|
2013-12-22 13:22:03 +00:00
|
|
|
|
stage -= mArmorsSzie;
|
2013-12-22 13:32:42 +00:00
|
|
|
|
|
|
|
|
|
if (stage < mClothingSize)
|
|
|
|
|
{
|
|
|
|
|
clothingCheck(stage, mReferencables.getClothing(), messages);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
stage -= mClothingSize;
|
2013-12-22 13:42:17 +00:00
|
|
|
|
|
|
|
|
|
if (stage < mContainersSize)
|
|
|
|
|
{
|
|
|
|
|
containerCheck(stage, mReferencables.getContainers(), messages);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
stage -= mContainersSize;
|
2013-12-20 19:02:42 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int CSMTools::ReferenceableCheckStage::setup()
|
|
|
|
|
{
|
|
|
|
|
return mReferencables.getSize();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CSMTools::ReferenceableCheckStage::bookCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Book >& records, std::vector< std::string >& messages)
|
|
|
|
|
{
|
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Book& Book = (static_cast<const CSMWorld::Record<ESM::Book>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Book, Book.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for name
|
|
|
|
|
if (Book.mName.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Book.mId + " has an empty name");
|
|
|
|
|
}
|
2013-12-20 21:31:17 +00:00
|
|
|
|
|
|
|
|
|
//Checking for weight
|
|
|
|
|
if (Book.mData.mWeight < 0)
|
|
|
|
|
{
|
2013-12-21 11:07:40 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Book.mId + " has negative weight");
|
2013-12-20 21:31:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for value
|
|
|
|
|
if (Book.mData.mValue < 0)
|
|
|
|
|
{
|
2013-12-21 11:07:40 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Book.mId + " has negative value");
|
2013-12-20 21:31:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for model
|
|
|
|
|
if (Book.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Book.mId + " has no model");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for icon
|
|
|
|
|
if (Book.mIcon.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Book.mId + " has no icon");
|
|
|
|
|
}
|
2013-12-22 13:22:03 +00:00
|
|
|
|
|
2013-12-21 11:07:40 +00:00
|
|
|
|
//checking for enchantment points
|
|
|
|
|
if (Book.mData.mEnchant < 0)
|
|
|
|
|
{
|
2013-12-22 13:22:03 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Book.mId + " has negative enchantment");
|
2013-12-21 11:07:40 +00:00
|
|
|
|
}
|
2013-12-20 21:31:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CSMTools::ReferenceableCheckStage::activatorCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Activator >& records, std::vector< std::string >& messages)
|
|
|
|
|
{
|
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Activator& Activator = (static_cast<const CSMWorld::Record<ESM::Activator>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Activator, Activator.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for model, IIRC all activators should have a model
|
|
|
|
|
if (Activator.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Activator.mId + " has no model");
|
|
|
|
|
}
|
2013-12-20 19:02:42 +00:00
|
|
|
|
}
|
|
|
|
|
|
2013-12-21 11:07:40 +00:00
|
|
|
|
void CSMTools::ReferenceableCheckStage::potionCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Potion >& records, std::vector< std::string >& messages)
|
2013-12-21 10:15:46 +00:00
|
|
|
|
{
|
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Potion& Potion = (static_cast<const CSMWorld::Record<ESM::Potion>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Potion, Potion.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for name
|
|
|
|
|
if (Potion.mName.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Potion.mId + " has an empty name");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for weight
|
|
|
|
|
if (Potion.mData.mWeight < 0)
|
|
|
|
|
{
|
2013-12-21 11:07:40 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Potion.mId + " has negative weight");
|
2013-12-21 10:15:46 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for value
|
|
|
|
|
if (Potion.mData.mValue < 0)
|
|
|
|
|
{
|
2013-12-21 11:07:40 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Potion.mId + " has negative value");
|
2013-12-21 10:15:46 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for model
|
|
|
|
|
if (Potion.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Potion.mId + " has no model");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for icon
|
|
|
|
|
if (Potion.mIcon.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Potion.mId + " has no icon");
|
|
|
|
|
}
|
2013-12-22 13:22:03 +00:00
|
|
|
|
|
2013-12-21 10:15:46 +00:00
|
|
|
|
//IIRC potion can have empty effects list just fine.
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-21 11:07:40 +00:00
|
|
|
|
|
|
|
|
|
void CSMTools::ReferenceableCheckStage::apparatusCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Apparatus >& records, std::vector< std::string >& messages)
|
2013-12-20 19:02:42 +00:00
|
|
|
|
{
|
2013-12-21 11:07:40 +00:00
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Apparatus& Apparatus = (static_cast<const CSMWorld::Record<ESM::Apparatus>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Apparatus, Apparatus.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for name
|
|
|
|
|
if (Apparatus.mName.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Apparatus.mId + " has an empty name");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for weight
|
|
|
|
|
if (Apparatus.mData.mWeight < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Apparatus.mId + " has negative weight");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for value
|
|
|
|
|
if (Apparatus.mData.mValue < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Apparatus.mId + " has negative value");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for model
|
|
|
|
|
if (Apparatus.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Apparatus.mId + " has no model");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for icon
|
|
|
|
|
if (Apparatus.mIcon.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Apparatus.mId + " has no icon");
|
|
|
|
|
}
|
2013-12-22 13:22:03 +00:00
|
|
|
|
|
2013-12-22 09:00:04 +00:00
|
|
|
|
//checking for quality, 0 → apparatus is basicly useless, any negative → apparatus is harmfull instead of helpfull
|
|
|
|
|
if (Apparatus.mData.mQuality <= 0)
|
|
|
|
|
{
|
2013-12-22 13:22:03 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Apparatus.mId + " has non-positive quality");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CSMTools::ReferenceableCheckStage::armorCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Armor >& records, std::vector< std::string >& messages)
|
|
|
|
|
{
|
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Armor& Armor = (static_cast<const CSMWorld::Record<ESM::Armor>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Armor, Armor.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for name
|
|
|
|
|
if (Armor.mName.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has an empty name");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for weight
|
|
|
|
|
if (Armor.mData.mWeight < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has negative weight");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for value
|
|
|
|
|
if (Armor.mData.mValue < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has negative value");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for model
|
|
|
|
|
if (Armor.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has no model");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for icon
|
|
|
|
|
if (Armor.mIcon.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has no icon");
|
|
|
|
|
}
|
2013-12-22 13:32:42 +00:00
|
|
|
|
|
|
|
|
|
//checking for enchantment points
|
2013-12-22 13:22:03 +00:00
|
|
|
|
if (Armor.mData.mEnchant < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has negative enchantment");
|
|
|
|
|
}
|
2013-12-22 13:32:42 +00:00
|
|
|
|
|
2013-12-22 13:22:03 +00:00
|
|
|
|
//checking for armor class, armor should have poistive armor class, but 0 is considered legal
|
|
|
|
|
if (Armor.mData.mArmor < 0)
|
|
|
|
|
{
|
2013-12-22 13:32:42 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has negative armor class");
|
2013-12-22 13:22:03 +00:00
|
|
|
|
}
|
2013-12-22 13:32:42 +00:00
|
|
|
|
|
2013-12-22 13:22:03 +00:00
|
|
|
|
//checking for health. Only positive numbers are allowed, and 0 is illegal
|
|
|
|
|
if (Armor.mData.mHealth <= 0)
|
|
|
|
|
{
|
2013-12-22 13:32:42 +00:00
|
|
|
|
messages.push_back(id.toString() + "|" + Armor.mId + " has non positive health");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void CSMTools::ReferenceableCheckStage::clothingCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Clothing >& records, std::vector< std::string >& messages)
|
|
|
|
|
{
|
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Clothing& Clothing = (static_cast<const CSMWorld::Record<ESM::Clothing>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Clothing, Clothing.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for name
|
|
|
|
|
if (Clothing.mName.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Clothing.mId + " has an empty name");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for weight
|
|
|
|
|
if (Clothing.mData.mWeight < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Clothing.mId + " has negative weight");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for value
|
|
|
|
|
if (Clothing.mData.mValue < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Clothing.mId + " has negative value");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for model
|
|
|
|
|
if (Clothing.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Clothing.mId + " has no model");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for icon
|
|
|
|
|
if (Clothing.mIcon.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Clothing.mId + " has no icon");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for enchantment points
|
|
|
|
|
if (Clothing.mData.mEnchant < 0)
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Clothing.mId + " has negative enchantment");
|
2013-12-22 09:00:04 +00:00
|
|
|
|
}
|
2013-12-21 14:40:39 +00:00
|
|
|
|
}
|
2013-12-22 13:42:17 +00:00
|
|
|
|
|
|
|
|
|
void CSMTools::ReferenceableCheckStage::containerCheck(int stage, const CSMWorld::RefIdDataContainer< ESM::Container >& records, std::vector< std::string >& messages)
|
|
|
|
|
{
|
|
|
|
|
const CSMWorld::RecordBase& baserecord = records.getRecord(stage);
|
|
|
|
|
|
|
|
|
|
if (baserecord.isDeleted())
|
|
|
|
|
{
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const ESM::Container& Container = (static_cast<const CSMWorld::Record<ESM::Container>& >(baserecord)).get();
|
|
|
|
|
CSMWorld::UniversalId id(CSMWorld::UniversalId::Type_Container, Container.mId);
|
|
|
|
|
|
|
|
|
|
//Checking for model, IIRC all containers should have a model
|
|
|
|
|
if (Container.mModel.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Container.mId + " has no model");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//Checking for capacity (weight)
|
|
|
|
|
if (Container.mWeight < 0) //0 is allowed
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Container.mId + " has negative weight (capacity)");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//checking for name
|
|
|
|
|
if (Container.mName.empty())
|
|
|
|
|
{
|
|
|
|
|
messages.push_back(id.toString() + "|" + Container.mId + " has an empty name");
|
|
|
|
|
}
|
|
|
|
|
}
|