Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
56
time_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
66
class DefaultMapTimer :
67
public IMapTimer,
Callers
1
GetAdjustedTime
Method · 0.85
Calls
1
GetInt
Method · 0.45
Tested by
no test coverage detected