MCPcopy Create free account
hub / github.com/assaultcube/AC / concat

Method concat

source/src/master.cpp:143–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141 }
142
143 void concat(const messagebuf &m)
144 {
145 if(buf.length() && buf.last() == '\0') buf.pop();
146 buf.put(m.buf.getbuf(), m.buf.length());
147 }
148};
149vector<messagebuf *> gameserverlists, gbanlists;
150bool updateserverlist = true;

Callers 1

loopvFunction · 0.80

Calls 3

lengthMethod · 0.45
putMethod · 0.45
getbufMethod · 0.45

Tested by

no test coverage detected