| 70 | } |
| 71 | |
| 72 | void SyncLogger::AddDestinationChangeSyncLogEvent(AbstractClass* pObject, AbstractClass* pTarget, unsigned int callerAddress) |
| 73 | { |
| 74 | if (!pObject) |
| 75 | return; |
| 76 | |
| 77 | MakeCallerRelative(callerAddress); |
| 78 | auto targetRTTI = AbstractType::None; |
| 79 | unsigned int targetID = 0; |
| 80 | |
| 81 | if (pTarget) |
| 82 | { |
| 83 | targetRTTI = pTarget->WhatAmI(); |
| 84 | targetID = pTarget->UniqueID; |
| 85 | } |
| 86 | |
| 87 | SyncLogger::DestinationChanges.Add(TargetChangeSyncLogEvent(pObject->WhatAmI(), pObject->UniqueID, targetRTTI, targetID, callerAddress, Unsorted::CurrentFrame)); |
| 88 | } |
| 89 | |
| 90 | void SyncLogger::AddMissionOverrideSyncLogEvent(AbstractClass* pObject, int mission, unsigned int callerAddress) |
| 91 | { |
nothing calls this directly
no test coverage detected