Migrates AreaEffectSimulation to generated rtiddsgen API
Converts accessor calls to plain member access across aes service and plugin.
This commit is contained in:
102 files changed
+3307
-3313
No files matched your search
+9
-9
@@ -68,20 +68,20 @@ void HandlerEffector::onParticipantChanged(const ParticipantManagement::Particip
|
||||
//DEBUG_LOG(m_logger)<<"onParticipantChanged participantId:" << data.id();
|
||||
if (modType == DataModification::eRemoved)
|
||||
{
|
||||
DEBUG_LOG(m_logger) << "m_participantsOutsideMap.remove participantId: " << data.id();
|
||||
if (m_effectors.contains(data.id()))
|
||||
deleteEffector(data.id());
|
||||
DEBUG_LOG(m_logger) << "m_participantsOutsideMap.remove participantId: " << data.id;
|
||||
if (m_effectors.contains(data.id))
|
||||
deleteEffector(data.id);
|
||||
return;
|
||||
}
|
||||
if (m_ppmDtc->isArtilleryType(data.typeId()))
|
||||
if (m_ppmDtc->isArtilleryType(data.typeId))
|
||||
{
|
||||
// Filter TypeClass Unit
|
||||
ParticipantManagement::Type type = m_ppmDtc->type(data.typeId());
|
||||
if (type.typeClass() != ParticipantManagement::TypeClass_def::Unit)
|
||||
createEffector(data.id());
|
||||
ParticipantManagement::Type type = m_ppmDtc->type(data.typeId);
|
||||
if (type.typeClass != ParticipantManagement::TypeClass::Unit)
|
||||
createEffector(data.id);
|
||||
}
|
||||
else
|
||||
if (m_effectors.contains(data.id()))
|
||||
deleteEffector(data.id());
|
||||
if (m_effectors.contains(data.id))
|
||||
deleteEffector(data.id);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user