mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-25 22:27:53 -05:00
Unlinker: Do not list localized strings one by one in the zone file and do not include keyvaluepairs at all because they should be in the meta data
This commit is contained in:
@ -26,14 +26,4 @@ void AbstractZoneDefWriter::WriteMetaData(const std::string& metaDataKey, const
|
||||
void AbstractZoneDefWriter::WriteEntry(const std::string& entryKey, const std::string& entryValue) const
|
||||
{
|
||||
m_file->Printf("%s,%s\n", entryKey.c_str(), entryValue.c_str());
|
||||
}
|
||||
|
||||
void AbstractZoneDefWriter::WriteContent() const
|
||||
{
|
||||
const auto* pools = m_zone->GetPools();
|
||||
|
||||
for(const auto& asset : *pools)
|
||||
{
|
||||
WriteEntry(pools->GetAssetTypeName(asset->m_type), asset->m_name);
|
||||
}
|
||||
}
|
||||
}
|
@ -14,7 +14,6 @@ protected:
|
||||
void WriteComment(const std::string& comment) const;
|
||||
void WriteMetaData(const std::string& metaDataKey, const std::string& metaDataValue) const;
|
||||
void WriteEntry(const std::string& entryKey, const std::string& entryValue) const;
|
||||
void WriteContent() const;
|
||||
|
||||
AbstractZoneDefWriter(Zone* zone, FileAPI::IFile* file);
|
||||
|
||||
|
Reference in New Issue
Block a user