Migrates EffectShow and AssetManagement to generated rtiddsgen API

Converts accessor calls to plain member access across esc and asm services.
This commit is contained in:
berrux-dev committed 2026-09-21 02:46:24 +02:00
1 parent a09979afdd
commit bdb2461737
39 files changed
+818 -818

No files matched your search

@@ -31,10 +31,10 @@ bool DtcImplCustom::isAARWorkstation(const QString &wsName)
int wsId = -1;
for (const auto &at : m_dtcAsset->readAlive())
{
if (at.data().assetTypeId() == AssetManagement::AssetType::MobileAfterActionVehicle &&
QString::fromStdString(at.data().name()).toUpper() == wsName.toUpper())
if (at.data().assetTypeId == AssetManagement::AssetType::MobileAfterActionVehicle &&
QString::fromStdString(at.data().name).toUpper() == wsName.toUpper())
{
wsId = at.data().id();
wsId = at.data().id;
break;
}
}
@@ -53,9 +53,9 @@ int DtcImplCustom::getAssetId(const QString &wsName)
int wsId = -1;
for (const auto &at : m_dtcAsset->readAlive())
{
if ( QString::fromStdString(at.data().name()).toUpper() == wsName.toUpper())
if ( QString::fromStdString(at.data().name).toUpper() == wsName.toUpper())
{
wsId = at.data().id();
wsId = at.data().id;
break;
}
}