MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / WriteDestinationChanges

Method WriteDestinationChanges

src/Misc/SyncLogging.cpp:208–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void SyncLogger::WriteDestinationChanges(FILE* const pLogFile, int frameDigits)
209{
210 fprintf(pLogFile, "Destination changes:\n");
211
212 for (size_t i = 0; i < SyncLogger::DestinationChanges.Size(); i++)
213 {
214 auto const& destChange = SyncLogger::DestinationChanges.Get();
215
216 if (!destChange.Initialized)
217 continue;
218
219 fprintf(pLogFile, "#%05d: RTTI: %02d | ID: %08d | TargetRTTI: %02d | TargetID: %08d | Caller: %08x | Frame: %*d\n",
220 i, destChange.Type, destChange.ID, destChange.TargetType, destChange.TargetID, destChange.Caller, frameDigits, destChange.Frame);
221 }
222
223 fprintf(pLogFile, "\n");
224}
225
226void SyncLogger::WriteMissionOverrides(FILE* const pLogFile, int frameDigits)
227{

Callers

nothing calls this directly

Calls 2

SizeMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected