diff options
author | Kitty Barnett <develop@catznip.com> | 2024-09-01 01:21:00 +0200 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2024-09-01 01:27:54 +0200 |
commit | b82e9b73d35e41ed51063905dd31ccced9e97266 (patch) | |
tree | b506aafc05c6cb3ae069d01ae22d2978b24da709 /indra/newview/rlvhelper.h | |
parent | c820bb2929a37fb222ce0d7368d699e81f5edc00 (diff) |
Add owner say chat hook
Diffstat (limited to 'indra/newview/rlvhelper.h')
-rw-r--r-- | indra/newview/rlvhelper.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/indra/newview/rlvhelper.h b/indra/newview/rlvhelper.h new file mode 100644 index 0000000000..89bdc709d5 --- /dev/null +++ b/indra/newview/rlvhelper.h @@ -0,0 +1,24 @@ +#pragma once + +#include "rlvdefines.h" + +// ============================================================================ +// Various helper classes/timers/functors +// + +namespace Rlv +{ + struct CommandDbgOut + { + CommandDbgOut(const std::string& orig_cmd) : mOrigCmd(orig_cmd) {} + void add(std::string strCmd, ECmdRet eRet); + std::string get() const; + static std::string getDebugVerbFromReturnCode(ECmdRet eRet); + static std::string getReturnCodeString(ECmdRet eRet); + private: + std::string mOrigCmd; + std::map<ECmdRet, std::string> mCommandResults; + }; +} + +// ============================================================================ |