Migrates remaining services and plugins to generated rtiddsgen API

Converts accessor calls to plain member access across the residual service set.
This commit is contained in:
berrux-dev committed 2026-09-21 02:47:48 +02:00
1 parent 6a8c31b735
commit c3eda18234
104 files changed
+2424 -2430

No files matched your search

@@ -90,8 +90,8 @@ void HandlerParticipantEvent::onAesItemViewChanged(const AreaEffectSimulation::A
Database::EemEvent eData = m_aesMap[data.id()];
eData.sampleTime = data.effectStart();
if (data.partyId().is_set())
eData.partyId = data.partyId().get();
if (data.partyId.is_set())
eData.partyId = data.partyId.get();
switch(modType)
{
@@ -242,14 +242,14 @@ void HandlerParticipantEvent::onExplosionSingleChanged(const AreaEffectSimulatio
{
Database::EemEvent eData = m_aesMap[data.id()];
if ( !data.effectStart().is_set())
if ( !data.effectStart.is_set())
{
return;
}
eData.sampleTime = data.effectStart().get();
eData.sampleTime = data.effectStart.get();
if (data.partyId().is_set())
eData.partyId = data.partyId().get();
if (data.partyId.is_set())
eData.partyId = data.partyId.get();
switch(modType)
{
@@ -280,7 +280,7 @@ void HandlerParticipantEvent::onExplosionSingleChanged(const AreaEffectSimulatio
obj[QStringLiteral("AesType")] = QJsonValue(AreaEffectSimulation::AesType::AtExplosionSingle);
obj[QStringLiteral("ChargeTypeId")] = QJsonValue(data.chargeStruct().chargeTypeId());
obj[QStringLiteral("duration")] = QJsonValue(aesItem.effectDuration());
obj[QStringLiteral("endTime")] = QJsonValue(data.effectStart().get() + aesItem.effectDuration());
obj[QStringLiteral("endTime")] = QJsonValue(data.effectStart.get() + aesItem.effectDuration());
eData.properties = QString::fromUtf8(QJsonDocument(obj).toJson(QJsonDocument::Compact));
//const Core::GeoPosition geoPosition ( data.impactPosition().lon(), data.impactPosition().lat(), 0);