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

Method ClientsMaskExcludeClientVersionAndHigher

src/game/server/gamecontext.cpp:5270–5280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5268}
5269
5270CClientMask CGameContext::ClientsMaskExcludeClientVersionAndHigher(int Version) const
5271{
5272 CClientMask Mask;
5273 for(int i = 0; i < MAX_CLIENTS; ++i)
5274 {
5275 if(GetClientVersion(i) >= Version)
5276 continue;
5277 Mask.set(i);
5278 }
5279 return Mask;
5280}
5281
5282bool CGameContext::PlayerModerating() const
5283{

Callers 2

HandleNinjaMethod · 0.80
DDRaceTickMethod · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected