MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addBanRelative

Method addBanRelative

Engine/source/app/banList.cpp:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106//------------------------------------------------------------------------------
107
108void BanList::addBanRelative(S32 uniqueId, const char *TA, S32 numSeconds)
109{
110 S32 curTime = Platform::getTime();
111 S32 banTime = 0;
112 if(numSeconds != -1)
113 banTime = curTime + numSeconds;
114
115 addBan(uniqueId, TA, banTime);
116}
117
118//------------------------------------------------------------------------------
119

Callers 1

banList.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected