summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2024-05-23 22:06:12 +0300
committerGitHub <noreply@github.com>2024-05-23 22:06:12 +0300
commit591a80765c4438f72795230824d2e549bafc592d (patch)
treed913b4083236bf6e4aa55861b52cb57341f0458c /indra/llui
parent58cf9c5c23c10752b26dcac384b51c85f9407ca6 (diff)
parentc38e71411080af9e03646bbe34f766201d942afd (diff)
Merge pull request #1547 from secondlife/lua-nearby-chat
Add support for sending messages to Nearby chat from Lua script
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llchat.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llui/llchat.h b/indra/llui/llchat.h
index 56105add7e..8fd92c2550 100644
--- a/indra/llui/llchat.h
+++ b/indra/llui/llchat.h
@@ -89,7 +89,8 @@ public:
mPosAgent(),
mURL(),
mChatStyle(CHAT_STYLE_NORMAL),
- mSessionID()
+ mSessionID(),
+ mIsScript(false)
{ }
std::string mText; // UTF-8 line of text
@@ -107,6 +108,9 @@ public:
std::string mURL;
EChatStyle mChatStyle;
LLUUID mSessionID;
+
+ bool mIsScript;
};
+static const std::string LUA_PREFIX("[LUA]");
#endif