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

Method ToGhostInfo

src/engine/client/ghost.cpp:29–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29CGhostInfo CGhostHeader::ToGhostInfo() const
30{
31 CGhostInfo Result;
32 str_copy(Result.m_aOwner, m_aOwner);
33 str_copy(Result.m_aMap, m_aMap);
34 Result.m_NumTicks = GetTicks();
35 Result.m_Time = GetTime();
36 return Result;
37}
38
39CGhostRecorder::CGhostRecorder()
40{

Callers 2

LoadMethod · 0.80
GetGhostInfoMethod · 0.80

Calls 1

str_copyFunction · 0.50

Tested by

no test coverage detected