mgr: added `yb exec` command for debugging purposes

This commit is contained in:
jeefo 2024-02-15 08:37:02 +03:00
commit 259dd18330
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
4 changed files with 37 additions and 10 deletions

View file

@ -776,6 +776,9 @@ public:
debugMsgInternal (strings.format (fmt, cr::forward <Args> (args)...));
}
// execute client command helper
template <typename ...Args> void issueCommand (const char *fmt, Args &&...args);
private:
// returns true if bot is using a sniper rifle
bool usesSniper () const {
@ -826,9 +829,6 @@ private:
bool usesKnife () const {
return m_weaponType == WeaponType::Melee;
}
// execute client command helper
template <typename ...Args> void issueCommand (const char *fmt, Args &&...args);
};
#include "config.h"