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

Method getResource

src/common/cURLManager.cpp:660–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658
659
660void ResourceGetter::getResource(void) {
661 while (resources.size() && itemExists(resources[0])) {
662 resources.erase(resources.begin());
663 }
664
665 if (!resources.size()) {
666 doingStuff = false;
667 }
668 else {
669 trResourceItem item = resources[0];
670
671 doingStuff = true;
672 setURL(item.URL);
673 addHandle();
674 }
675}
676
677
678// Local Variables: ***

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected