summaryrefslogtreecommitdiff
path: root/indra/newview/rlvhandler.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2024-09-01 01:21:00 +0200
committerErik Kundiman <erik@megapahit.org>2025-05-11 16:26:59 +0800
commit3558444264ce3dce900f75156033bcf3956360b7 (patch)
tree672221acab2a116e7b990b672782773da59d022f /indra/newview/rlvhandler.h
parent49567c97fd8416b9130b3af52055cf973d9aa894 (diff)
Add owner say chat hook
Diffstat (limited to 'indra/newview/rlvhandler.h')
-rw-r--r--indra/newview/rlvhandler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/rlvhandler.h b/indra/newview/rlvhandler.h
index 0d4cbe98fb..8cf054e98e 100644
--- a/indra/newview/rlvhandler.h
+++ b/indra/newview/rlvhandler.h
@@ -1,9 +1,12 @@
#pragma once
+#include "llchat.h"
#include "llsingleton.h"
#include "rlvdefines.h"
+class LLViewerObject;
+
// ============================================================================
// RlvHandler class
//
@@ -13,6 +16,14 @@ class RlvHandler : public LLSingleton<RlvHandler>
LLSINGLETON_EMPTY_CTOR(RlvHandler);
public:
+ /*
+ * Helper functions
+ */
+public:
+ // Command processing helper functions
+ bool handleSimulatorChat(std::string& message, const LLChat& chat, const LLViewerObject* chatObj);
+ Rlv::ECmdRet processCommand(const LLUUID& idObj, const std::string& stCmd, bool fromObj);
+
// Initialization (deliberately static so they can safely be called in tight loops)
static bool canEnable();
static bool isEnabled() { return mIsEnabled; }