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

Function favcatargname

source/src/serverbrowser.cpp:766–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

764});
765
766const char *favcatargname(const char *refdes, int par)
767{
768 static string text[3];
769 static int i = 0;
770 if(par < 0 || par >= FC_NUM) return NULL;
771 i = (i + 1) % 3;
772 formatstring(text[i])("sbfavourite_%s_%s", refdes, fc_als[par]);
773 return text[i];
774}
775
776void addfavcategory(const char *refdes)
777{

Callers 5

addfavcategoryFunction · 0.85
loopiFunction · 0.85
loopvFunction · 0.85
refreshserversFunction · 0.85
serverskeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected