diff options
author | Don Kjer <don@lindenlab.com> | 2012-02-21 21:39:54 +0000 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2012-02-21 21:39:54 +0000 |
commit | dd499d55a051a2b05b6a5dfa77c5df0ab7406009 (patch) | |
tree | 4b1950a9343723e0f9cb6be6df52cc4bbb4f540f | |
parent | d8a7427c2e6baab711d62e719449375993980904 (diff) |
Connected getGroups event host hook.
-rw-r--r-- | indra/newview/llagentlistener.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llagentlistener.cpp b/indra/newview/llagentlistener.cpp index a8d2222c03..a4c0b056ac 100644 --- a/indra/newview/llagentlistener.cpp +++ b/indra/newview/llagentlistener.cpp @@ -126,6 +126,17 @@ LLAgentListener::LLAgentListener(LLAgent &agent) "[\"obj_uuid\"]: id of object to look at, use this or [\"position\"] to indicate the target\n" "[\"position\"]: region position {x, y, z} where to find closest object or avatar to look at", &LLAgentListener::lookAt); + add("getGroups", + "Send information about the agent's groups on [\"reply\"]:\n" + "[\"groups\"]: array of group information\n" + "[\"id\"]: group id\n" + "[\"name\"]: group name\n" + "[\"insignia\"]: group insignia texture id\n" + "[\"notices\"]: boolean indicating if this user accepts notices from this group\n" + "[\"display\"]: boolean indicating if this group is listed in the user's profile\n" + "[\"contrib\"]: user's land contribution to this group\n", + &LLAgentListener::getGroups, + LLSDMap("reply", LLSD())); } void LLAgentListener::requestTeleport(LLSD const & event_data) const |