| 52 | } |
| 53 | |
| 54 | void SyncLogger::AddTargetChangeSyncLogEvent(AbstractClass* pObject, AbstractClass* pTarget, unsigned int callerAddress) |
| 55 | { |
| 56 | if (!pObject) |
| 57 | return; |
| 58 | |
| 59 | MakeCallerRelative(callerAddress); |
| 60 | auto targetRTTI = AbstractType::None; |
| 61 | unsigned int targetID = 0; |
| 62 | |
| 63 | if (pTarget) |
| 64 | { |
| 65 | targetRTTI = pTarget->WhatAmI(); |
| 66 | targetID = pTarget->UniqueID; |
| 67 | } |
| 68 | |
| 69 | SyncLogger::TargetChanges.Add(TargetChangeSyncLogEvent(pObject->WhatAmI(), pObject->UniqueID, targetRTTI, targetID, callerAddress, Unsorted::CurrentFrame)); |
| 70 | } |
| 71 | |
| 72 | void SyncLogger::AddDestinationChangeSyncLogEvent(AbstractClass* pObject, AbstractClass* pTarget, unsigned int callerAddress) |
| 73 | { |
nothing calls this directly
no test coverage detected