diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-05-22 20:29:55 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2024-05-22 20:29:55 +0300 |
commit | 0f00dc2f658869cc73a18b03b024a6cc88964e0b (patch) | |
tree | 8e8142f9cb61d8a543f164eb18aec9ed1e91c7c5 /indra/llui | |
parent | 58cf9c5c23c10752b26dcac384b51c85f9407ca6 (diff) |
Add support for sending messages to Nearby chat from Lua script
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llchat.h | 6 |
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 |