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/newview/llchatitemscontainerctrl.h | |
parent | 58cf9c5c23c10752b26dcac384b51c85f9407ca6 (diff) |
Add support for sending messages to Nearby chat from Lua script
Diffstat (limited to 'indra/newview/llchatitemscontainerctrl.h')
-rw-r--r-- | indra/newview/llchatitemscontainerctrl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.h b/indra/newview/llchatitemscontainerctrl.h index d041615060..7df00e8fd9 100644 --- a/indra/newview/llchatitemscontainerctrl.h +++ b/indra/newview/llchatitemscontainerctrl.h @@ -48,7 +48,8 @@ protected: LLFloaterIMNearbyChatToastPanel() : mIsDirty(false), - mSourceType(CHAT_SOURCE_OBJECT) + mSourceType(CHAT_SOURCE_OBJECT), + mIsFromScript(false) {}; public: ~LLFloaterIMNearbyChatToastPanel(){} @@ -58,6 +59,8 @@ public: const LLUUID& getFromID() const { return mFromID;} const std::string& getFromName() const { return mFromName; } + bool isFromScript() { return mIsFromScript; } + //void addText (const std::string& message , const LLStyle::Params& input_params = LLStyle::Params()); //void setMessage (const LLChat& msg); void snapToMessageHeight (); @@ -88,6 +91,7 @@ private: std::string mFromName; EChatSourceType mSourceType; LLChatMsgBox* mMsgText; + bool mIsFromScript; |