MCPcopy Create free account
hub / github.com/crossuo/crossuo / OnMainLoop

Method OnMainLoop

src/Application.cpp:12–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10CApplication g_App;
11
12void CApplication::OnMainLoop()
13{
14 //DEBUG_TRACE_FUNCTION;
15 g_Ticks = SDL_GetTicks();
16 g_ConnectionManager.Recv();
17 g_PacketManager.ProcessPluginPackets();
18 g_PacketManager.SendMegaClilocRequests();
19 g_Game.Process(true);
20}

Callers

nothing calls this directly

Calls 5

ProcessPluginPacketsMethod · 0.80
SDL_GetTicksFunction · 0.50
RecvMethod · 0.45
ProcessMethod · 0.45

Tested by

no test coverage detected