MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / zeroPlayerCounts

Method zeroPlayerCounts

src/net/Ping.cpp:340–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340void PingPacket::zeroPlayerCounts() {
341 rogueCount = 0;
342 redCount = 0;
343 greenCount = 0;
344 blueCount = 0;
345 purpleCount = 0;
346 observerCount = 0;
347}
348
349// serialize packet to file -- note lack of error checking
350// must write to a binary file if we use plain "pack"

Callers 1

loadCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected