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

Function doNetworkStuff

src/clientbase/playing.cpp:752–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750
751
752void doNetworkStuff() {
753 // send my data
754 if (myTank && myTank->isDeadReckoningWrong() && !myTank->isObserver()) {
755 serverLink->sendPlayerUpdate(myTank); // also calls setDeadReckoning()
756 }
757
758#ifdef ROBOT
759 if (entered) {
760 sendRobotUpdates();
761 }
762#endif
763
764 cURLManager::perform();
765}
766
767
768//

Callers 2

playingLoopFunction · 0.85
playingLoopFunction · 0.85

Calls 4

sendRobotUpdatesFunction · 0.85
isDeadReckoningWrongMethod · 0.80
sendPlayerUpdateMethod · 0.80
isObserverMethod · 0.45

Tested by

no test coverage detected