MCPcopy Create free account
hub / github.com/ddnet/ddnet / RecordMessage

Method RecordMessage

src/engine/shared/demo.cpp:357–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void CDemoRecorder::RecordMessage(const void *pData, int Size)
358{
359 if(m_pfnFilter)
360 {
361 if(m_pfnFilter(pData, Size, m_pUser))
362 {
363 return;
364 }
365 }
366 Write(CHUNKTYPE_MESSAGE, pData, Size);
367}
368
369int CDemoRecorder::Stop(IDemoRecorder::EStopMode Mode, const char *pTargetFilename)
370{

Callers 4

SendMsgMethod · 0.80
ProcessServerPacketMethod · 0.80
OnDemoPlayerMessageMethod · 0.80
SendMsgMethod · 0.80

Calls 1

WriteEnum · 0.85

Tested by

no test coverage detected