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

Method IDBanLoop

plugins/webadmin/loops.cpp:765–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765IDBanLoop::IDBanLoop(Templateiser& ts) {
766 ts.addLoop("IDBans", this);
767 ts.addKey("IDBanMask", this);
768 ts.addKey("IDBanReason", this);
769 ts.addKey("IDBanSource", this);
770 ts.addKey("IDBanDuration", this);
771 ts.addKey("IDBanID", this);
772 ts.addIF("IDBanIsForever", this);
773}
774
775void IDBanLoop::setSize(void) {
776 size = bz_getBanListSize(eIDList);

Callers

nothing calls this directly

Calls 3

addLoopMethod · 0.80
addKeyMethod · 0.80
addIFMethod · 0.80

Tested by

no test coverage detected