#include "llhost.h"
#include "lluuid.h"
#include "llsd.h"
#include "llmemory.h"
#include "v3math.h"
Include dependency graph for llinstantmessage.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Copyright (c) 2002-2007, Linden Research, Inc.
Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2
There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception
By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.
ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$
Definition in file llinstantmessage.h.
enum EGodlikeRequest |
Definition at line 175 of file llinstantmessage.h.
enum EIMSource |
Definition at line 203 of file llinstantmessage.h.
enum EInstantMessage |
Definition at line 45 of file llinstantmessage.h.
Definition at line 317 of file llinstantmessage.cpp.
References ll_sd_from_vector3(), params, and S32.
void pack_instant_message | ( | LLMessageSystem * | msgsystem, | |
const LLUUID & | from_id, | |||
BOOL | from_group, | |||
const LLUUID & | session_id, | |||
const LLUUID & | to_id, | |||
const char * | name, | |||
const char * | message, | |||
U8 | offline = IM_ONLINE , |
|||
EInstantMessage | dialog = IM_NOTHING_SPECIAL , |
|||
const LLUUID & | id = LLUUID::null , |
|||
U32 | parent_estate_id = 0 , |
|||
const LLUUID & | region_id = LLUUID::null , |
|||
const LLVector3 & | position = LLVector3::zero , |
|||
U32 | timestamp = NO_TIMESTAMP , |
|||
const U8 * | binary_bucket = (U8 *) EMPTY_BINARY_BUCKET , |
|||
S32 | binary_bucket_size = EMPTY_BINARY_BUCKET_SIZE | |||
) |
Definition at line 160 of file llinstantmessage.cpp.
References _PREHASH_ImprovedInstantMessage, lldebugs, llendl, LLMessageSystem::newMessageFast(), and pack_instant_message_block().
Referenced by busy_message(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), deliver_message(), LLFloaterIMPanel::onClose(), process_improved_im(), send_improved_im(), and LLFloaterIMPanel::sendTypingState().
void pack_instant_message_block | ( | LLMessageSystem * | msgsystem, | |
const LLUUID & | from_id, | |||
BOOL | from_group, | |||
const LLUUID & | session_id, | |||
const LLUUID & | to_id, | |||
const char * | name, | |||
const char * | message, | |||
U8 | offline = IM_ONLINE , |
|||
EInstantMessage | dialog = IM_NOTHING_SPECIAL , |
|||
const LLUUID & | id = LLUUID::null , |
|||
U32 | parent_estate_id = 0 , |
|||
const LLUUID & | region_id = LLUUID::null , |
|||
const LLVector3 & | position = LLVector3::zero , |
|||
U32 | timestamp = NO_TIMESTAMP , |
|||
const U8 * | binary_bucket = (U8 *) EMPTY_BINARY_BUCKET , |
|||
S32 | binary_bucket_size = EMPTY_BINARY_BUCKET_SIZE | |||
) |
Definition at line 199 of file llinstantmessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_BinaryBucket, _PREHASH_Dialog, _PREHASH_FromAgentName, _PREHASH_FromGroup, _PREHASH_ID, _PREHASH_Message, _PREHASH_MessageBlock, _PREHASH_Offline, _PREHASH_ParentEstateID, _PREHASH_Position, _PREHASH_RegionID, _PREHASH_SessionID, _PREHASH_Timestamp, _PREHASH_ToAgentID, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addBOOLFast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, llendl, llmax(), llmin(), llwarns, MTUBYTES, LLMessageSystem::nextBlockFast(), NULL, and S32.
Referenced by pack_instant_message(), and LLIMInfo::packMessageBlock().
const char EMPTY_BINARY_BUCKET[] |
Definition at line 59 of file llinstantmessage.cpp.
Referenced by inventory_offer_callback(), pack_instant_message_block(), send_group_notice(), send_simple_im(), and send_start_session_messages().
const S32 EMPTY_BINARY_BUCKET_SIZE |
Definition at line 60 of file llinstantmessage.cpp.
Referenced by inventory_offer_callback(), pack_instant_message_block(), send_group_notice(), send_simple_im(), and send_start_session_messages().
const U8 IM_OFFLINE |
Definition at line 49 of file llinstantmessage.cpp.
Referenced by deliver_message(), LLViewerChatterBoxInvitation::post(), and process_improved_im().
Definition at line 48 of file llinstantmessage.cpp.
Referenced by busy_message(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), deliver_message(), inventory_offer_callback(), join_group_callback(), LLFloaterIMPanel::onClose(), process_improved_im(), LLPanelFriends::requestFriendship(), send_group_notice(), send_simple_im(), LLFloaterIMPanel::sendTypingState(), and session_starter_helper().
Definition at line 63 of file llinstantmessage.cpp.
const U32 NO_TIMESTAMP |
Definition at line 61 of file llinstantmessage.cpp.
Referenced by LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), inventory_offer_callback(), send_group_notice(), send_simple_im(), and session_starter_helper().
const char SYSTEM_FROM[] |
Definition at line 62 of file llinstantmessage.cpp.
Referenced by LLIMMgr::addSystemMessage(), busy_message(), LLVoiceChannelGroup::handleError(), and process_improved_im().
const S32 VOTE_ABSTAIN |
Definition at line 53 of file llinstantmessage.cpp.
const S32 VOTE_MAJORITY |
Definition at line 55 of file llinstantmessage.cpp.
Definition at line 52 of file llinstantmessage.cpp.
const S32 VOTE_SUPER_MAJORITY |
Definition at line 56 of file llinstantmessage.cpp.
const S32 VOTE_UNANIMOUS |
Definition at line 57 of file llinstantmessage.cpp.
Definition at line 51 of file llinstantmessage.cpp.