MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / GetAdjustedTime

Function GetAdjustedTime

core/TimerSys.cpp:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56time_t GetAdjustedTime(time_t *buf)
57{
58 time_t val = time(NULL) + sm_time_adjustment.GetInt();
59 if (buf)
60 {
61 *buf = val;
62 }
63 return val;
64}
65
66class DefaultMapTimer :
67 public IMapTimer,

Callers 1

GetAdjustedTimeMethod · 0.85

Calls 1

GetIntMethod · 0.45

Tested by

no test coverage detected