chore: use Asset definition instead of enum entry for zcg

This commit is contained in:
Jan Laupetin authored and Jan committed 2025-04-28 12:53:02 +01:00
1 parent 3adbe5a275
commit 1fe1b30831
13 files changed
+195 -203

No files matched your search

@@ -261,7 +261,7 @@ namespace
"{0}::{0}({1}* asset, const Zone& zone, IZoneOutputStream& stream)", WriterClassName(m_env.m_asset), m_env.m_asset->m_definition->GetFullName())
m_intendation++;
LINEF(": AssetWriter(zone.m_pools->GetAssetOrAssetReference({0}, GetAssetName(asset)), zone, stream)", m_env.m_asset->m_asset_enum_entry->m_name)
LINEF(": AssetWriter(zone.m_pools->GetAssetOrAssetReference({0}::EnumEntry, GetAssetName(asset)), zone, stream)", m_env.m_asset->m_asset_name)
m_intendation--;
LINE("{")