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

Method getmsg

source/src/serverfiles.h:1644–1648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1642 }
1643
1644 const char *getmsg()
1645 {
1646 if(!msg.length() || msg.last()) msg.add('\0'); // make sure, msg is terminated
1647 return msg.getbuf();
1648 }
1649
1650 char *getmsgline(string s, int *pos)
1651 {

Callers 2

welcomepacketFunction · 0.80
extping_serverinfoFunction · 0.80

Calls 3

lengthMethod · 0.45
addMethod · 0.45
getbufMethod · 0.45

Tested by

no test coverage detected