MCPcopy Index your code
hub / github.com/assaultcube/AC / execute

Function execute

source/src/command.cpp:664–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664int execute(const char *p)
665{
666 char *ret = executeret(p);
667 int i = 0;
668 if(ret) { i = ATOI(ret); delete[] ret; }
669 return i;
670}
671
672#ifndef STANDALONE
673bool exechook(int context, const char *ident, const char *body,...) // execute cubescript hook if available and allowed in current context/gamemode

Callers 15

getmapFunction · 0.85
execactionMethod · 0.85
focusMethod · 0.85
focusMethod · 0.85
openMethod · 0.85
authkey_Function · 0.85
favcatcheckkeyFunction · 0.85
updatefrommasterFunction · 0.85
exechookFunction · 0.85
execfileFunction · 0.85
command.cppFile · 0.85

Calls 1

executeretFunction · 0.85

Tested by

no test coverage detected