#include "llviewerprecompiledheaders.h"
#include "llviewermessage.h"
#include <deque>
#include "audioengine.h"
#include "indra_constants.h"
#include "lscript_byteformat.h"
#include "mean_collision_data.h"
#include "llfloaterbump.h"
#include "llassetstorage.h"
#include "llcachename.h"
#include "llchat.h"
#include "lldbstrings.h"
#include "lleconomy.h"
#include "llfilepicker.h"
#include "llfocusmgr.h"
#include "llfollowcamparams.h"
#include "llfloaterreleasemsg.h"
#include "llinstantmessage.h"
#include "llquantize.h"
#include "llregionflags.h"
#include "llregionhandle.h"
#include "llsdserialize.h"
#include "llstring.h"
#include "llteleportflags.h"
#include "lltracker.h"
#include "lltransactionflags.h"
#include "llxfermanager.h"
#include "message.h"
#include "sound_ids.h"
#include "lltimer.h"
#include "llmd5.h"
#include "llagent.h"
#include "llcallingcard.h"
#include "llconsole.h"
#include "llvieweraudio.h"
#include "llviewercontrol.h"
#include "lldrawpool.h"
#include "llfirstuse.h"
#include "llfloateractivespeakers.h"
#include "llfloaterbuycurrency.h"
#include "llfloaterbuyland.h"
#include "llfloaterchat.h"
#include "llfloatergroupinfo.h"
#include "llfloaterimagepreview.h"
#include "llfloaterland.h"
#include "llfloaterregioninfo.h"
#include "llfloaterlandholdings.h"
#include "llfloatermap.h"
#include "llurldispatcher.h"
#include "llfloatermute.h"
#include "llfloaterpostcard.h"
#include "llfloaterpreference.h"
#include "llfollowcam.h"
#include "llgroupnotify.h"
#include "llhudeffect.h"
#include "llhudeffecttrail.h"
#include "llhudmanager.h"
#include "llimpanel.h"
#include "llinventorymodel.h"
#include "llinventoryview.h"
#include "llmenugl.h"
#include "llmutelist.h"
#include "llnetmap.h"
#include "llnotify.h"
#include "llpanelgrouplandmoney.h"
#include "llselectmgr.h"
#include "llstartup.h"
#include "llsky.h"
#include "llstatenums.h"
#include "llstatusbar.h"
#include "llimview.h"
#include "lltool.h"
#include "lltoolbar.h"
#include "lltoolmgr.h"
#include "llui.h"
#include "lluploaddialog.h"
#include "llviewercamera.h"
#include "llviewergenericmessage.h"
#include "llviewerinventory.h"
#include "llviewermenu.h"
#include "llviewerobject.h"
#include "llviewerobjectlist.h"
#include "llviewerparcelmgr.h"
#include "llviewerpartsource.h"
#include "llviewerregion.h"
#include "llviewerstats.h"
#include "llviewertexteditor.h"
#include "llviewerthrottle.h"
#include "llviewerwindow.h"
#include "llvlmanager.h"
#include "llvoavatar.h"
#include "llvotextbubble.h"
#include "llweb.h"
#include "llworld.h"
#include "pipeline.h"
#include "llappviewer.h"
#include "llfloaterworldmap.h"
#include "llkeythrottle.h"
#include "llviewerdisplay.h"
#include <boost/tokenizer.hpp>
Go to the source code of this file.
Copyright (c) 2002-2008, 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://secondlifegrid.net/programs/open_source/licensing/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://secondlifegrid.net/programs/open_source/licensing/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 llviewermessage.cpp.
void busy_message | ( | LLMessageSystem * | msg, | |
LLUUID | from_id | |||
) |
Definition at line 1958 of file llviewermessage.cpp.
References LLAgent::buildFullname(), FALSE, gAgent, LLAgent::getBusy(), LLAgent::getID(), LLAgent::getSessionID(), LLControlGroup::getText(), gMessageSystem, gSavedPerAccountSettings, IM_BUSY_AUTO_RESPONSE, IM_ONLINE, pack_instant_message(), and LLAgent::sendReliableMessage().
Referenced by callingcard_offer_callback(), inventory_offer_callback(), and process_improved_im().
Definition at line 5150 of file llviewermessage.cpp.
References LLViewerWindow::alertXml(), and gViewerWindow.
Referenced by process_initiate_download().
void callback_load_url | ( | S32 | option, | |
void * | data | |||
) |
Definition at line 5061 of file llviewermessage.cpp.
References LLWeb::loadURLExternal(), LoadUrlInfo::mUrl, and NULL.
Referenced by callback_load_url_name().
void callback_load_url_name | ( | const LLUUID & | id, | |
const char * | first, | |||
const char * | last, | |||
BOOL | is_group, | |||
void * | data | |||
) |
Definition at line 5078 of file llviewermessage.cpp.
References callback_load_url(), LLMuteList::getInstance(), gLoadUrlList, LoadUrlInfo::mMessage, LoadUrlInfo::mObjectName, LoadUrlInfo::mOwnerID, LoadUrlInfo::mUrl, NULL, LLUUID::null, and LLNotifyBox::showXml().
Referenced by process_load_url().
void callback_script_dialog | ( | S32 | option, | |
void * | data | |||
) |
Definition at line 4963 of file llviewermessage.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addString(), LLMessageSystem::addUUID(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, ScriptDialogInfo::mButtons, ScriptDialogInfo::mChatChannel, ScriptDialogInfo::mObjectID, ScriptDialogInfo::mSender, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLMessageSystem::sendReliable().
Referenced by process_script_dialog().
void callbackCacheEstateOwnerName | ( | const LLUUID & | id, | |
const char * | first, | |||
const char * | last, | |||
BOOL | is_group, | |||
void * | ||||
) |
Definition at line 5263 of file llviewermessage.cpp.
References LLFloaterBuyLand::updateEstateOwnerName(), LLPanelLandCovenant::updateEstateOwnerName(), and LLPanelEstateCovenant::updateEstateOwnerName().
Referenced by process_covenant_reply().
void callingcard_offer_callback | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 2030 of file llviewermessage.cpp.
References _PREHASH_AcceptCallingCard, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_DeclineCallingCard, _PREHASH_FolderData, _PREHASH_FolderID, _PREHASH_SessionID, _PREHASH_TransactionBlock, _PREHASH_TransactionID, LLMessageSystem::addUUIDFast(), LLAssetType::AT_CALLINGCARD, busy_message(), LLInventoryModel::findCategoryUUIDForType(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gInventory, gMessageSystem, LLCallingCardOfferData::mHost, LLCallingCardOfferData::mSourceID, LLCallingCardOfferData::mTransactionID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, and LLMessageSystem::sendReliable().
Referenced by process_offer_callingcard().
bool check_offer_throttle | ( | const std::string & | from_name, | |
bool | check_only | |||
) |
Definition at line 752 of file llviewermessage.cpp.
References LLFloaterChat::addChat(), LLFrameTimer::checkExpirationAndReset(), FALSE, LLControlGroup::getBOOL(), LLAppViewer::getSecondLifeTitle(), LLStartUp::getStartupState(), gSavedSettings, LLFrameTimer::hasExpired(), LLAppViewer::instance(), LL_DEBUGS, LL_ENDL, LLChat::mText, OFFER_THROTTLE_MAX_COUNT, OFFER_THROTTLE_TIME, and STATE_STARTED.
Referenced by inventory_offer_callback(), and open_offer().
void container_inventory_arrived | ( | LLViewerObject * | object, | |
InventoryObjectList * | inventory, | |||
S32 | serial_num, | |||
void * | data | |||
) |
Definition at line 4547 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Force, _PREHASH_ObjectData, _PREHASH_ObjectDelete, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLAssetType::AT_CATEGORY, LLAssetType::AT_NONE, LLAssetType::AT_ROOT_CATEGORY, LLAgent::cameraMouselook(), LLAgent::changeCameraToDefault(), LLInventoryModel::createNewCategory(), LLSaleInfo::DEFAULT, LLInventoryModel::findCategoryUUIDForType(), gAgent, LLUUID::generate(), LLInventoryView::getActiveInventory(), LLInventoryItem::getAssetUUID(), LLInventoryItem::getDescription(), LLInventoryItem::getFlags(), LLViewerRegion::getHost(), LLAgent::getID(), LLAgent::getInventoryRootID(), LLInventoryItem::getInventoryType(), LLViewerObject::getLocalID(), LLInventoryObject::getName(), LLInventoryView::getPanel(), LLInventoryItem::getPermissions(), LLAgent::getRegion(), LLAgent::getSessionID(), LLInventoryObject::getType(), gInventory, gMessageSystem, LL_DEBUGS, LL_ENDL, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLInventoryModel::notifyObservers(), S32, LLMessageSystem::sendReliable(), LLInventoryPanel::setSelection(), TAKE_FOCUS_NO, time_corrected(), TRUE, and LLInventoryModel::updateItem().
static void display_release_message | ( | S32 | , | |
void * | data | |||
) | [static] |
Definition at line 2666 of file llviewermessage.cpp.
References LLFloaterReleaseMsg::displayMessage().
Referenced by process_agent_movement_complete().
void export_complete | ( | ) |
Definition at line 342 of file llviewermessage.cpp.
References LLFile::fopen(), gImageChecksums, LL_ENDL, LL_INFOS, LL_WARNS, LLUploadDialog::modalUploadFinished(), NULL, LLUUID::setNull(), and UUID_STR_SIZE.
Referenced by exported_item_complete(), and exported_j2c_complete().
void exported_item_complete | ( | const LLTSCode | status, | |
void * | user_data | |||
) |
Definition at line 404 of file llviewermessage.cpp.
References current_image_count, current_object_count, export_complete(), exported_image_count, exported_object_count, LL_ENDL, LL_INFOS, LL_WARNS, llformat(), LLTS_OK, and LLUploadDialog::setMessage().
void exported_j2c_complete | ( | const LLTSCode | status, | |
void * | user_data | |||
) |
Definition at line 435 of file llviewermessage.cpp.
References current_image_count, current_object_count, export_complete(), exported_image_count, exported_object_count, exported_image_info::filename, LLFile::fopen(), gDirUtilp, LLDir::getDirDelimiter(), gImageChecksums, exported_image_info::image_id, exported_image_info::image_num, LL_ENDL, LL_INFOS, LL_WARNS, llformat(), LLTS_OK, LLFile::remove(), S32, and LLUploadDialog::setMessage().
char* formatted_time | ( | const time_t & | the_time, | |
char * | buffer | |||
) |
Definition at line 4660 of file llviewermessage.cpp.
References LLStringBase< char >::copy(), and TIME_STR_LENGTH.
Referenced by LLViewerChatterBoxInvitation::post(), process_covenant_reply(), process_improved_im(), and LLPanelLandGeneral::refresh().
void friendship_offer_callback | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 1979 of file llviewermessage.cpp.
References _PREHASH_AcceptFriendship, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_DeclineFriendship, _PREHASH_FolderData, _PREHASH_FolderID, _PREHASH_SessionID, _PREHASH_TransactionBlock, _PREHASH_TransactionID, LLMessageSystem::addUUIDFast(), LLAssetType::AT_CALLINGCARD, LLInventoryModel::findCategoryUUIDForType(), LLAvatarTracker::formFriendship(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gInventory, gMessageSystem, LLFriendshipOffer::mFromID, LLFriendshipOffer::mHost, LLFriendshipOffer::mTransactionID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, and LLMessageSystem::sendReliable().
Referenced by process_improved_im().
void give_money | ( | const LLUUID & | uuid, | |
LLViewerRegion * | region, | |||
S32 | amount, | |||
BOOL | is_group, | |||
S32 | trx_type, | |||
const LLString & | desc | |||
) |
Definition at line 200 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AggregatePermInventory, _PREHASH_AggregatePermNextOwner, _PREHASH_Amount, _PREHASH_Description, _PREHASH_DestID, _PREHASH_Flags, _PREHASH_MoneyData, _PREHASH_MoneyTransferRequest, _PREHASH_SessionID, _PREHASH_SourceID, _PREHASH_TransactionType, LLMessageSystem::addS32Fast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLAggregatePermissions::AP_EMPTY, LLFloaterBuyCurrency::buyCurrency(), can_afford_transaction(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LL_ENDL, LL_INFOS, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), pack_transaction_flags(), and LLMessageSystem::sendReliable().
Referenced by complete_give_money(), and handle_pay_by_id().
void goto_url_callback | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 1297 of file llviewermessage.cpp.
References LLWeb::loadURL().
Referenced by process_improved_im().
void group_vote_callback | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 1238 of file llviewermessage.cpp.
References NULL, and LLFloaterGroupInfo::showFromUUID().
Referenced by process_improved_im().
void handle_lure | ( | LLDynamicArray< LLUUID > & | ids | ) |
Definition at line 4845 of file llviewermessage.cpp.
References LLViewerWindow::alertXmlEditText(), gAgent, LLViewerRegion::getName(), LLAgent::getRegion(), gViewerWindow, handle_lure_callback(), handle_lure_callback_godlike(), LLAgent::isGodlike(), and NULL.
void handle_lure | ( | const LLUUID & | invitee | ) |
Definition at line 4837 of file llviewermessage.cpp.
References handle_lure().
Referenced by handle_lure(), LLPanelAvatar::onClickOfferTeleport(), LLPanelFriends::onClickOfferTeleport(), and LLCallingCardBridge::performAction().
Definition at line 4806 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Info, _PREHASH_LureType, _PREHASH_Message, _PREHASH_SessionID, _PREHASH_StartLure, _PREHASH_TargetData, _PREHASH_TargetID, LLMessageSystem::addStringFast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, and LLAgent::sendReliableMessage().
Referenced by handle_lure(), and handle_lure_callback_godlike().
void handle_lure_callback_godlike | ( | S32 | option, | |
void * | userdata | |||
) |
Definition at line 4832 of file llviewermessage.cpp.
References handle_lure_callback(), and LLStringBase< char >::null.
Referenced by handle_lure().
void handle_show_mean_events | ( | void * | ) |
Definition at line 4138 of file llviewermessage.cpp.
References gNoRender, NULL, and LLFloaterBump::show().
void invalid_message_callback | ( | LLMessageSystem * | msg, | |
void * | , | |||
EMessageException | exception | |||
) |
Definition at line 5380 of file llviewermessage.cpp.
References LLAppViewer::badNetworkHandler(), and LLAppViewer::instance().
Referenced by idle_startup().
void inventory_offer_callback | ( | S32 | button, | |
void * | user_data | |||
) |
Definition at line 936 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_BinaryBucket, _PREHASH_Dialog, _PREHASH_FromAgentName, _PREHASH_FromGroup, _PREHASH_ID, _PREHASH_ImprovedInstantMessage, _PREHASH_Message, _PREHASH_MessageBlock, _PREHASH_Offline, _PREHASH_ParentEstateID, _PREHASH_Position, _PREHASH_RegionID, _PREHASH_SessionID, _PREHASH_Timestamp, _PREHASH_ToAgentID, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addBOOLFast(), LLFloaterChat::addChatHistory(), LLInventoryModel::addObserver(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), LLAgent::buildFullname(), busy_message(), check_offer_throttle(), LLDiscardAgentOffer::done(), LLOpenAgentOffer::done(), EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, FALSE, LLInventoryFetchComboObserver::fetch(), LLInventoryFetchObserver::fetchItems(), gAgent, gCacheName, LLCacheName::get(), LLInventoryModel::getCategory(), LLCacheName::getGroupName(), LLAgent::getID(), LLMuteList::getInstance(), LLInventoryModel::getItem(), LLCacheName::getName(), LLAgent::getPositionAgent(), LLAgent::getSessionID(), gFloaterView, gInventory, gMessageSystem, IM_GROUP_NOTICE, IM_GROUP_NOTICE_REQUESTED, IM_INVENTORY_OFFERED, IM_ONLINE, IM_TASK_INVENTORY_OFFERED, inventory_offer_mute_callback(), IOR_ACCEPT, IOR_BUSY, IOR_DECLINE, IOR_MUTE, LLViewerInventoryItem::isComplete(), LLMuteList::isLinden(), LL_DEBUGS, LL_ENDL, LL_WARNS, LLUUID::mData, LLOfferInfo::mDesc, LLOfferInfo::mFolderID, LLOfferInfo::mFromGroup, LLOfferInfo::mFromID, LLOfferInfo::mFromName, LLOfferInfo::mFromObject, LLOfferInfo::mHost, LLOfferInfo::mIM, LLChat::mMuted, LLOfferInfo::mObjectID, LLChat::mText, LLOfferInfo::mTransactionID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NO_TIMESTAMP, NULL, LLUUID::null, LLFloaterView::resetStartingFloaterPosition(), LLMessageSystem::sendReliable(), and TRUE.
Referenced by LLGroupNotifyBox::close(), inventory_offer_handler(), inventory_offer_mute_callback(), LLPanelGroupNotices::onClickNewMessage(), LLPanelGroupNotices::onClickOpenAttachment(), LLGroupNotifyBox::onClickSaveInventory(), process_improved_im(), LLPanelGroupNotices::showNotice(), LLPanelGroup::showNotice(), LLFloaterGroupInfo::showNotice(), and LLPanelGroupNotices::~LLPanelGroupNotices().
void inventory_offer_handler | ( | LLOfferInfo * | info, | |
BOOL | from_task | |||
) |
Definition at line 1151 of file llviewermessage.cpp.
References LLAssetType::AT_LANDMARK, LLAssetType::AT_NOTECARD, LLAssetType::AT_TEXTURE, FALSE, gAgent, gCacheName, LLControlGroup::getBOOL(), LLAgent::getBusy(), LLCacheName::getGroupName(), LLMuteList::getInstance(), LLCacheName::getName(), gSavedSettings, inventory_offer_callback(), IOR_ACCEPT, IOR_BUSY, IOR_DECLINE, IOR_MUTE, LL_ENDL, ll_safe_string(), LL_WARNS, LLAssetType::lookupHumanReadable(), LLOfferInfo::mDesc, LLOfferInfo::mFromGroup, LLOfferInfo::mFromID, LLOfferInfo::mFromName, LLOfferInfo::mType, LLNotifyBox::showXml(), and TRUE.
Referenced by process_improved_im().
void inventory_offer_mute_callback | ( | const LLUUID & | blocked_id, | |
const char * | first_name, | |||
const char * | last_name, | |||
BOOL | is_group, | |||
void * | user_data | |||
) |
Definition at line 892 of file llviewermessage.cpp.
References LLMute::AGENT, LLUIFactory< LLFloaterMute, LLUISingleton< LLFloaterMute, VisibilityPolicy< LLFloater > >, VisibilityPolicy< LLFloater > >::getInstance(), LLMuteList::getInstance(), gNotifyBoxView, LLMute::GROUP, inventory_offer_callback(), LLNotifyBoxView::purgeMessagesMatching(), LLFloaterMute::selectMute(), and LLUIFactory< LLFloaterMute, LLUISingleton< LLFloaterMute, VisibilityPolicy< LLFloater > >, VisibilityPolicy< LLFloater > >::showInstance().
Referenced by inventory_offer_callback().
void join_group_callback | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 575 of file llviewermessage.cpp.
References LLViewerWindow::alertXml(), LLDynamicArray< Type, BlockSize >::count(), FALSE, gAgent, gViewerWindow, IM_GROUP_INVITATION_ACCEPT, IM_GROUP_INVITATION_DECLINE, IM_ONLINE, LLAgent::isInGroup(), LLUUID::isNull(), llformat(), MAX_AGENT_GROUPS, LLJoinGroupData::mFee, LLJoinGroupData::mGroupID, LLAgent::mGroups, LLJoinGroupData::mMessage, LLJoinGroupData::mName, LLJoinGroupData::mTransactionID, NULL, S32, send_improved_im(), LLFloaterGroupInfo::showFromUUID(), LLAlertDialog::showXml(), LLNotifyBox::showXml(), and TRUE.
Referenced by process_improved_im().
void lure_callback | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 1272 of file llviewermessage.cpp.
References gAgent, IM_LURE_DECLINED, LLLureInfo::mFromID, LLLureInfo::mGodlike, LLLureInfo::mLureID, NULL, send_simple_im(), and LLAgent::teleportViaLure().
Referenced by process_improved_im().
void mean_name_callback | ( | const LLUUID & | id, | |
const char * | first, | |||
const char * | last, | |||
BOOL | always_false, | |||
void * | data | |||
) |
Definition at line 4148 of file llviewermessage.cpp.
References DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, gMeanCollisionList, gNoRender, i, LLMeanCollisionData::mFirstName, LLMeanCollisionData::mLastName, LLMeanCollisionData::mPerp, and S32.
Referenced by process_mean_collision_alert_message().
void near_sit_object | ( | BOOL | success, | |
void * | data | |||
) |
Definition at line 3671 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentSit, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
void notify_cautioned_script_question | ( | LLScriptQuestionCBData * | cbdata, | |
S32 | orig_questions, | |||
BOOL | granted | |||
) |
Definition at line 4281 of file llviewermessage.cpp.
References LLFloaterChat::addChat(), FALSE, LLViewerObjectList::findObject(), LLXform::getPosition(), LLViewerObject::getRegion(), LLUIString::getString(), LLNotifyBox::getTemplateIsCaution(), LLNotifyBox::getTemplateMessage(), gObjectList, i, llformat(), LSCRIPTRunTimePermissionBits, LLScriptQuestionCBData::mObjectName, LLScriptQuestionCBData::mOwnerName, LLScriptQuestionCBData::mTaskID, S32, SCRIPT_PERMISSION_EOF, LLUIString::setArg(), TRUE, VX, VY, and VZ.
Referenced by script_question_cb(), and script_question_decline_cb().
void onCovenantLoadComplete | ( | LLVFS * | vfs, | |
const LLUUID & | asset_uuid, | |||
LLAssetType::EType | type, | |||
void * | user_data, | |||
S32 | status, | |||
LLExtStat | ext_status | |||
) |
Definition at line 5287 of file llviewermessage.cpp.
References LLSingleton< LLViewerStats >::getInstance(), LLVFile::getSize(), LLTextEditor::getText(), LLViewerTextEditor::importBuffer(), LLViewerStats::incStat(), LL_DEBUGS, LL_ENDL, LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE, LL_ERR_FILE_EMPTY, LL_ERR_INSUFFICIENT_PERMISSIONS, LL_ERRS, LL_WARNS, NULL, LLVFile::read(), LLVFile::READ, S32, LLViewerStats::ST_DOWNLOAD_FAILED, LLFloaterBuyLand::updateCovenantText(), LLPanelLandCovenant::updateCovenantText(), and LLPanelEstateCovenant::updateCovenantText().
Referenced by process_covenant_reply().
void open_offer | ( | const std::vector< LLUUID > & | items, | |
const std::string & | from_name | |||
) |
Definition at line 813 of file llviewermessage.cpp.
References LLAssetType::AT_LANDMARK, LLAssetType::AT_LOST_AND_FOUND, LLAssetType::AT_NOTECARD, LLAssetType::AT_TEXTURE, LLAssetType::AT_TRASH, check_offer_throttle(), FALSE, LLInventoryModel::findCategoryUUIDForType(), gAgent, gAwayTimer, LLInventoryView::getActiveInventory(), LLAgent::getID(), LLInventoryModel::getItem(), LLFocusMgr::getKeyboardFocus(), LLInventoryObject::getName(), LLInventoryView::getPanel(), LLFrameTimer::getStarted(), gFocusMgr, gInventory, LLInventoryModel::isObjectDescendentOf(), LL_DEBUGS, LL_ENDL, LL_WARNS, LLUUID::null, open_landmark(), open_notecard(), open_texture(), LLFocusMgr::setKeyboardFocus(), LLInventoryPanel::setSelection(), and TAKE_FOCUS_NO.
Referenced by LLOpenTaskOffer::done(), and LLOpenAgentOffer::done().
void process_accept_callingcard | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2127 of file llviewermessage.cpp.
References LLNotifyBox::showXml().
Referenced by register_viewer_callbacks().
void process_agent_alert_message | ( | LLMessageSystem * | msgsystem, | |
void ** | user_data | |||
) |
Definition at line 4040 of file llviewermessage.cpp.
References _PREHASH_AlertData, _PREHASH_Message, FALSE, LLMessageSystem::getBOOL(), LLMessageSystem::getStringFast(), MAX_STRING, and process_alert_core().
Referenced by register_viewer_callbacks().
void process_agent_movement_complete | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2673 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_LookAt, _PREHASH_Position, _PREHASH_RegionHandle, _PREHASH_SessionID, LLFloaterChat::addChatHistory(), LLAgent::canFly(), CHAT_SOURCE_SYSTEM, LLFloaterReleaseMsg::checkVersion(), LLAgent::clearBusy(), LLVOAvatar::clearChat(), LLVector4::clearVec(), display_release_message(), FALSE, LLAppViewer::forceDisconnect(), from_region_handle(), gAgent, gAgentMovementCompleted, gAssetStorage, gCacheName, LLAgent::getAlwaysRun(), LLAgent::getAvatarObject(), LLViewerRegion::getBlockFly(), LLAgent::getBusy(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getOriginGlobal(), LLAgent::getPositionGlobal(), LLViewerRegion::getPosRegionFromGlobal(), LLAgent::getRegion(), LLWorld::getRegionFromHandle(), LLAgent::getRunning(), LLMessageSystem::getSender(), LLAgent::getSessionID(), LLMessageSystem::getString(), LLAgent::getTeleportSourceSLURL(), LLAgent::getTeleportState(), LLTracker::getTrackedPositionGlobal(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), gObjectList, gViewerThrottle, gViewerWindow, LLAppViewer::instance(), LLTracker::isTracking(), LL_DEBUGS, LL_ENDL, LL_INFOS, LL_WARNS, LLVector3::magVecSquared(), MAX_STRING, LLVector3d::mdV, LLVOAvatar::mFootPlane, LLVector3::mV, LLVector3::normVec(), NULL, send_agent_update(), LLAgent::sendAgentSetAppearance(), LLViewerWindow::sendShapeToSim(), LLViewerThrottle::sendToSim(), LLAgent::sendWalkRun(), LLAgent::setBusy(), LLAgent::setFlying(), LLAgent::setFocusOnAvatar(), LLViewerObject::setPositionAgent(), LLAgent::setRegion(), LLAgent::setTeleportState(), LLCacheName::setUpstream(), LLAssetStorage::setUpstream(), LLViewerObjectList::shiftObjects(), LLNotifyBox::showXml(), LLAgent::slamLookAt(), LLVOAvatar::slamPosition(), LLTracker::stopTracking(), LLAgent::TELEPORT_MOVING, LLAgent::TELEPORT_NONE, LLAgent::TELEPORT_START_ARRIVAL, TRUE, LLAgent::updateCamera(), VX, and VY.
Referenced by idle_startup().
void process_alert_core | ( | const std::string & | message, | |
BOOL | modal | |||
) |
Definition at line 4057 of file llviewermessage.cpp.
References LLViewerWindow::alertXml(), LLStringBase< char >::convertToS32(), FALSE, gDirUtilp, LLDir::getDirDelimiter(), LLSingleton< LLViewerStats >::getInstance(), LLDir::getLindenUserDir(), LLViewerWindow::getWindow(), LLViewerWindow::getWindowDisplayHeight(), LLViewerWindow::getWindowDisplayWidth(), gViewerWindow, LLViewerStats::incStat(), llformat(), LLWindow::resetBusyCount(), S32, LLViewerWindow::saveSnapshot(), SCREEN_HOME_FILENAME, LLNotifyBox::showXml(), LLAlertDialog::showXml(), and LLViewerStats::ST_KILLED_COUNT.
Referenced by process_agent_alert_message(), and process_alert_message().
void process_alert_message | ( | LLMessageSystem * | msgsystem, | |
void ** | user_data | |||
) |
Definition at line 4049 of file llviewermessage.cpp.
References _PREHASH_AlertData, _PREHASH_Message, FALSE, LLMessageSystem::getStringFast(), MAX_STRING, and process_alert_core().
Referenced by register_viewer_callbacks().
void process_attached_sound | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 3352 of file llviewermessage.cpp.
References _PREHASH_DataBlock, _PREHASH_Flags, _PREHASH_Gain, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_SoundID, LLViewerObjectList::findObject(), LLMute::flagObjectSounds, gain(), LLMessageSystem::getF32Fast(), LLMuteList::getInstance(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), gObjectList, and LLViewerObject::setAttachedSound().
Referenced by idle_startup().
void process_attached_sound_gain_change | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3381 of file llviewermessage.cpp.
References _PREHASH_DataBlock, _PREHASH_Gain, _PREHASH_ObjectID, LLViewerObject::adjustAudioGain(), LLViewerObjectList::findObject(), gain(), LLMessageSystem::getF32Fast(), LLMessageSystem::getUUIDFast(), gObjectList, and NULL.
Referenced by idle_startup().
void process_avatar_animation | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3566 of file llviewermessage.cpp.
References _PREHASH_AnimationList, _PREHASH_AnimationSourceList, _PREHASH_AnimID, _PREHASH_AnimSequenceID, _PREHASH_ID, _PREHASH_ObjectID, _PREHASH_Sender, FALSE, LLViewerObjectList::findObject(), FLAGS_ANIM_SOURCE, LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getS32Fast(), LLMessageSystem::getUUIDFast(), gObjectList, i, LL_DEBUGS, LL_ENDL, LL_WARNS, LLVOAvatar::mAnimationSources, LLViewerObject::mFlags, LLVOAvatar::mIsSelf, LLVOAvatar::mSignaledAnimations, LLVOAvatar::processAnimationStateChanges(), S32, and TRUE.
Referenced by register_viewer_callbacks().
void process_avatar_appearance | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3647 of file llviewermessage.cpp.
References _PREHASH_ID, _PREHASH_Sender, LLViewerObjectList::findObject(), LLMessageSystem::getUUIDFast(), gObjectList, LL_ENDL, LL_WARNS, and LLVOAvatar::processAvatarAppearance().
Referenced by register_viewer_callbacks().
void process_avatar_sit_response | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3684 of file llviewermessage.cpp.
References _PREHASH_AutoPilot, _PREHASH_CameraAtOffset, _PREHASH_CameraEyeOffset, _PREHASH_ForceMouselook, _PREHASH_ID, _PREHASH_SitObject, _PREHASH_SitPosition, _PREHASH_SitRotation, _PREHASH_SitTransform, dist_vec_squared(), LLViewerObjectList::findObject(), gAgent, LLAgent::getAvatarObject(), LLMessageSystem::getBOOLFast(), LLAgent::getPosGlobalFromAgent(), LLViewerObject::getPositionAgent(), LLMessageSystem::getQuatFast(), LLXform::getRoot(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), gObjectList, LL_ENDL, LL_WARNS, LLAgent::mForceMouselook, LLVOAvatar::mIsSitting, near_sit_object(), NULL, LLAgent::setSitCamera(), and LLAgent::startAutoPilotGlobal().
Referenced by register_viewer_callbacks().
void process_cached_object_update | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3138 of file llviewermessage.cpp.
References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), gObjectBits, gObjectList, LLMemType::MTYPE_OBJECT, OUT_FULL_CACHED, LLViewerObjectList::processCachedObjectUpdate(), and stop_glerror.
Referenced by register_viewer_callbacks().
void process_camera_constraint | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3663 of file llviewermessage.cpp.
References _PREHASH_CameraCollidePlane, _PREHASH_Plane, gAgent, LLMessageSystem::getVector4Fast(), and LLAgent::setCameraCollidePlane().
Referenced by register_viewer_callbacks().
void process_chat_from_simulator | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 2138 of file llviewermessage.cpp.
References _PREHASH_Audible, _PREHASH_ChatData, _PREHASH_Message, _PREHASH_SourceType, LLFloaterChat::addChat(), LLFloaterChat::addChatHistory(), LLViewerPartSim::addPartSource(), CHAT_AUDIBLE_FULLY, CHAT_SOURCE_OBJECT, CHAT_TYPE_DEBUG_MSG, CHAT_TYPE_NORMAL, CHAT_TYPE_OWNER, CHAT_TYPE_SHOUT, CHAT_TYPE_START, CHAT_TYPE_STOP, CHAT_TYPE_WHISPER, DB_CHAT_MSG_BUF_SIZE, DB_FULL_NAME_BUF_SIZE, FALSE, LLViewerObjectList::findObject(), LLMute::flagTextChat, gAgent, LLControlGroup::getBOOL(), LLAgent::getBusy(), LLFrameTimer::getElapsedSeconds(), LLAgent::getID(), LLSingleton< LLLocalSpeakerMgr >::getInstance(), LLSingleton< LLViewerPartSim >::getInstance(), LLMuteList::getInstance(), LLViewerObject::getPositionAgent(), LLMessageSystem::getString(), LLMessageSystem::getStringFast(), LLMessageSystem::getU8(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUID(), gObjectList, gSavedSettings, LLAgent::heardChat(), LLPrimitive::isAvatar(), LLMuteList::isLinden(), LLMuteList::isMuted(), LL_ENDL, LL_WARNS, LLChat::mAudible, LLChat::mChatType, LLChat::mFromID, LLChat::mFromName, LLChat::mMuted, LLChat::mPosAgent, LLChat::mSourceType, LLChat::mText, LLChat::mTime, LLViewerObject::permYouOwner(), LLSpeakerMgr::setSpeakerTyping(), LLColor4::setVec(), and TRUE.
Referenced by register_viewer_callbacks().
void process_clear_follow_cam_properties | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3729 of file llviewermessage.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectID, LLMessageSystem::getUUIDFast(), and LLFollowCamMgr::removeFollowCamParams().
Referenced by register_viewer_callbacks().
void process_compressed_object_update | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3120 of file llviewermessage.cpp.
References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), gObjectBits, gObjectList, LLMemType::MTYPE_OBJECT, OUT_FULL_COMPRESSED, LLViewerObjectList::processCompressedObjectUpdate(), and stop_glerror.
Referenced by register_viewer_callbacks().
void process_covenant_reply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 5204 of file llviewermessage.cpp.
References LLAssetType::AT_NOTECARD, callbackCacheEstateOwnerName(), ET_Covenant, formatted_time(), gAgent, gAssetStorage, gCacheName, LLAssetStorage::getEstateAsset(), LLAgent::getID(), LLCacheName::getName(), LLAgent::getRegionHost(), LLAgent::getSessionID(), LLMessageSystem::getString(), LLMessageSystem::getU32(), LLMessageSystem::getUUID(), LLUUID::isNull(), MAX_STRING, LLUUID::notNull(), NULL, onCovenantLoadComplete(), TIME_STR_LENGTH, TRUE, LLFloaterBuyLand::updateCovenantText(), LLPanelLandCovenant::updateCovenantText(), LLPanelEstateCovenant::updateCovenantText(), LLFloaterBuyLand::updateEstateName(), LLPanelLandCovenant::updateEstateName(), LLPanelEstateCovenant::updateEstateName(), LLFloaterBuyLand::updateLastModified(), LLPanelLandCovenant::updateLastModified(), and LLPanelEstateCovenant::updateLastModified().
Referenced by register_viewer_callbacks().
void process_crossed_region | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2841 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_RegionData, _PREHASH_RegionHandle, _PREHASH_SeedCapability, _PREHASH_SessionID, _PREHASH_SimIP, _PREHASH_SimPort, LLWorld::addRegion(), gAgent, LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLMessageSystem::getIPAddrFast(), LLMessageSystem::getIPPortFast(), LLAgent::getSessionID(), LLMessageSystem::getStringFast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), LL_ENDL, LL_INFOS, LL_WARNS, send_complete_agent_movement(), LLViewerRegion::setSeedCapability(), and STD_STRING_BUF_SIZE.
Referenced by register_viewer_callbacks().
void process_decline_callingcard | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2132 of file llviewermessage.cpp.
References LLNotifyBox::showXml().
Referenced by register_viewer_callbacks().
void process_derez_ack | ( | LLMessageSystem * | , | |
void ** | ||||
) |
Definition at line 516 of file llviewermessage.cpp.
References LLWindow::decBusyCount(), LLViewerWindow::getWindow(), and gViewerWindow.
Referenced by register_viewer_callbacks().
void process_derez_container | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 4542 of file llviewermessage.cpp.
References LL_ENDL, and LL_WARNS.
Referenced by register_viewer_callbacks().
void process_economy_data | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 4252 of file llviewermessage.cpp.
References LLPanel::childSetLabelArg(), LLSingleton< T >::getInstance(), gMenuHolder, llformat(), LLGlobalEconomy::processEconomyData(), S32, and LLFloaterImagePreview::setUploadAmount().
Referenced by register_viewer_callbacks().
void process_feature_disabled_message | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 5363 of file llviewermessage.cpp.
References _PREHASH_AgentID, _PREHASH_ErrorMessage, _PREHASH_FailureInfo, _PREHASH_TransactionID, LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), LL_ENDL, LL_WARNS, and MAX_STRING.
Referenced by register_viewer_callbacks().
void process_frozen_message | ( | LLMessageSystem * | msgsystem, | |
void ** | user_data | |||
) |
Definition at line 4233 of file llviewermessage.cpp.
References LLMessageSystem::getBOOL(), LLViewerWindow::getWindow(), gViewerWindow, and LLWindow::resetBusyCount().
Referenced by register_viewer_callbacks().
void process_health_message | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3401 of file llviewermessage.cpp.
References _PREHASH_Health, _PREHASH_HealthData, LLMessageSystem::getF32Fast(), gStatusBar, S32, and LLStatusBar::setHealth().
Referenced by register_viewer_callbacks().
void process_improved_im | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 1307 of file llviewermessage.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_Timestamp, _PREHASH_ToAgentID, LLFloaterChat::addChat(), LLIMMgr::addMessage(), LLUUID::asString(), LLAgent::buildFullname(), busy_message(), CHAT_SOURCE_AGENT, CHAT_SOURCE_OBJECT, CHAT_SOURCE_SYSTEM, d, DB_FULL_NAME_BUF_SIZE, DB_IM_MSG_BUF_SIZE, DB_INV_ITEM_NAME_BUF_SIZE, FALSE, LLInventoryModel::findCategoryUUIDForType(), LLViewerObjectList::findObject(), LLMute::flagTextChat, LLWindow::flashIcon(), formatted_time(), LLAvatarTracker::formFriendship(), friendship_offer_callback(), gAgent, gAgentID, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getBOOLFast(), LLAgent::getBusy(), LLAgent::getID(), LLMuteList::getInstance(), LLWindow::getMinimized(), LLAgent::getRegion(), LLMessageSystem::getSender(), LLAgent::getSessionID(), LLMessageSystem::getSizeFast(), LLMessageSystem::getStringFast(), LLControlGroup::getText(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), LLViewerWindow::getWindow(), gIMMgr, gInventory, gMessageSystem, gNoRender, gObjectList, goto_url_callback(), group_vote_callback(), gSavedPerAccountSettings, gViewerWindow, LLIMMgr::hasSession(), IM_BUSY_AUTO_RESPONSE, IM_CONSOLE_AND_CHAT_HISTORY, IM_FRIENDSHIP_ACCEPTED, IM_FRIENDSHIP_DECLINED, IM_FRIENDSHIP_OFFERED, IM_FROM_TASK, IM_FROM_TASK_AS_ALERT, IM_GODLIKE_LURE_USER, IM_GOTO_URL, IM_GROUP_ELECTION_DEPRECATED, IM_GROUP_INVITATION, IM_GROUP_NOTICE, IM_GROUP_NOTICE_REQUESTED, IM_GROUP_VOTE, IM_INVENTORY_ACCEPTED, IM_INVENTORY_DECLINED, IM_INVENTORY_OFFERED, IM_LURE_USER, IM_MESSAGEBOX, IM_NOTHING_SPECIAL, IM_OFFLINE, IM_ONLINE, IM_SESSION_INVITE, IM_SESSION_SEND, IM_TASK_INVENTORY_OFFERED, IM_TYPING_START, IM_TYPING_STOP, inventory_offer_callback(), inventory_offer_handler(), LLAgent::isGodlike(), LLMuteList::isLinden(), LLMuteList::isMuted(), LLUUID::isNull(), LLViewerRegion::isPrelude(), join_group_callback(), LL_DEBUGS, LL_ENDL, LL_ERRS, LL_INFOS, LL_WARNS, lure_callback(), MAX_STRING, LLOfferInfo::mDesc, LLJoinGroupData::mFee, LLOfferInfo::mFolderID, LLOfferInfo::mFromGroup, LLFriendshipOffer::mFromID, LLOfferInfo::mFromID, LLChat::mFromID, LLOfferInfo::mFromName, LLChat::mFromName, LLOfferInfo::mFromObject, LLJoinGroupData::mGroupID, LLFriendshipOffer::mHost, LLOfferInfo::mHost, LLOfferInfo::mIM, LLJoinGroupData::mMessage, LLChat::mMuted, LLJoinGroupData::mName, LLOfferInfo::mObjectID, LLFriendshipOffer::mOnline, LLChat::mSourceType, LLChat::mText, LLFriendshipOffer::mTransactionID, LLOfferInfo::mTransactionID, LLJoinGroupData::mTransactionID, MTUBYTES, LLOfferInfo::mType, LLUUID::null, NULL, pack_instant_message(), LLViewerObject::permYouOwner(), LLIMMgr::processIMTypingStart(), LLIMMgr::processIMTypingStop(), S32, send_generic_message(), LLAgent::sendReliableMessage(), LLGroupNotifyBox::show(), LLFloaterGroupInfo::showNotice(), LLNotifyBox::showXml(), SYSTEM_FROM, TIME_STR_LENGTH, and TRUE.
Referenced by register_viewer_callbacks().
void process_initiate_download | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 5160 of file llviewermessage.cpp.
References callback_download_complete(), FALSE, gAgent, LLAgent::getID(), LLMessageSystem::getSender(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), gXferManager, LL_ENDL, LL_PATH_NONE, LL_WARNS, and LLXferManager::requestFile().
Referenced by register_viewer_callbacks().
void process_kick_user | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 3911 of file llviewermessage.cpp.
References _PREHASH_Reason, _PREHASH_UserInfo, LLAppViewer::forceDisconnect(), LLMessageSystem::getStringFast(), and LLAppViewer::instance().
Referenced by register_viewer_callbacks().
void process_kill_object | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3174 of file llviewermessage.cpp.
References _PREHASH_ID, _PREHASH_ObjectData, LLPipeline::addObject(), LLViewerObjectList::createObjectViewer(), LLViewerObjectList::findObject(), LLFastTimer::FTM_PROCESS_OBJECTS, gAgentID, LLSingleton< LLSelectMgr >::getInstance(), LLMessageSystem::getNumberOfBlocksFast(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRegion(), LLXform::getScale(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), LLMessageSystem::getU32Fast(), LLViewerObjectList::getUUIDFromLocal(), gMessageSystem, gObjectList, gPipeline, gShowObjectUpdates, i, LLViewerObjectList::killObject(), LL_DEBUGS, LL_ENDL, LL_PCODE_LEGACY_TEXT_BUBBLE, LL_WARNS, LLVOTextBubble::mColor, LLViewerObjectList::mNumUnknownKills, LLUUID::null, LLSelectMgr::removeObjectFromSelections(), S32, LLViewerObject::setPositionGlobal(), LLViewerObject::setScale(), and LLColor4::setVec().
Referenced by register_viewer_callbacks().
void process_layer_data | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 286 of file llviewermessage.cpp.
References _PREHASH_Data, _PREHASH_LayerData, _PREHASH_LayerID, _PREHASH_Type, LLVLManager::addLayerData(), LLMessageSystem::getBinaryDataFast(), LLSingleton< LLWorld >::getInstance(), LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), LLWorld::getRegion(), LLMessageSystem::getS8Fast(), LLMessageSystem::getSender(), LLMessageSystem::getSizeFast(), gNoRender, gVLManager, LL_ENDL, LL_WARNS, and S32.
Referenced by register_viewer_callbacks().
void process_load_url | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 5120 of file llviewermessage.cpp.
References callback_load_url_name(), gCacheName, LLCacheName::get(), LLMessageSystem::getBOOL(), LLMuteList::getInstance(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), gLoadUrlList, LLMuteList::isMuted(), LL_ENDL, LL_INFOS, LoadUrlInfo::mMessage, LoadUrlInfo::mObjectID, LoadUrlInfo::mObjectName, LoadUrlInfo::mOwnerID, LoadUrlInfo::mOwnerIsGroup, LoadUrlInfo::mUrl, and NULL.
Referenced by register_viewer_callbacks().
void process_logout_reply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 242 of file llviewermessage.cpp.
References _PREHASH_InventoryData, _PREHASH_ItemID, LLInventoryModel::addChangedMask(), LLAppViewer::forceQuit(), gAgent, LLAgent::getID(), LLInventoryModel::getItem(), LLMessageSystem::getNumberOfBlocksFast(), LLInventoryObject::getParentUUID(), LLAgent::getSessionID(), LLMessageSystem::getUUID(), LLMessageSystem::getUUIDFast(), gInventory, i, LLAppViewer::instance(), LLInventoryObserver::INTERNAL, LLUUID::isNull(), LL_DEBUGS, LL_ENDL, LL_INFOS, LL_WARNS, and S32.
Referenced by register_viewer_callbacks().
void process_mean_collision_alert_message | ( | LLMessageSystem * | msgsystem, | |
void ** | user_data | |||
) |
Definition at line 4178 of file llviewermessage.cpp.
References _PREHASH_Mag, _PREHASH_MeanCollision, _PREHASH_Perp, _PREHASH_Time, _PREHASH_Type, FALSE, gAgent, gAgentID, gCacheName, LLCacheName::get(), LLMessageSystem::getF32Fast(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), LLViewerWindow::getWindow(), gMeanCollisionList, gViewerWindow, i, LLAgent::inPrelude(), mean_name_callback(), LLMeanCollisionData::mMag, LLMeanCollisionData::mPerp, LLMeanCollisionData::mTime, LLMeanCollisionData::mType, LLWindow::resetBusyCount(), S32, and TRUE.
Referenced by register_viewer_callbacks().
void process_money_balance_reply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 3976 of file llviewermessage.cpp.
References _PREHASH_Description, _PREHASH_MoneyData, LLStatusBar::getBalance(), LLControlGroup::getBOOL(), LLMessageSystem::getS32(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUID(), gSavedSettings, gStatusBar, LL_DEBUGS, LL_ENDL, LL_INFOS, S32, LLStatusBar::setBalance(), LLStatusBar::setLandCommitted(), LLStatusBar::setLandCredit(), LLNotifyBox::showXml(), STD_STRING_BUF_SIZE, LLFirstUse::useBalanceDecrease(), and LLFirstUse::useBalanceIncrease().
Referenced by register_viewer_callbacks().
void process_name_value | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3859 of file llviewermessage.cpp.
References _PREHASH_ID, _PREHASH_NameValueData, _PREHASH_NVPair, _PREHASH_TaskData, LLViewerObjectList::findObject(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), gObjectList, i, LL_ENDL, LL_INFOS, NAME_VALUE_BUF_SIZE, and S32.
Referenced by register_viewer_callbacks().
void process_object_update | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3102 of file llviewermessage.cpp.
References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), gObjectBits, gObjectList, LLMemType::MTYPE_OBJECT, OUT_FULL, LLViewerObjectList::processObjectUpdate(), and stop_glerror.
Referenced by register_viewer_callbacks().
void process_offer_callingcard | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2072 of file llviewermessage.cpp.
References _PREHASH_AgentBlock, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_TransactionID, callingcard_offer_callback(), LLViewerObjectList::findObject(), LLMute::flagTextChat, gAgent, LLAgent::getBusy(), LLMuteList::getInstance(), LLViewerObject::getNVPair(), LLMessageSystem::getSender(), LLNameValue::getString(), LLMessageSystem::getUUIDFast(), gObjectList, LLPrimitive::isAvatar(), LLMuteList::isMuted(), LL_DEBUGS, LL_ENDL, LL_WARNS, LLCallingCardOfferData::mHost, LLCallingCardOfferData::mSourceID, LLCallingCardOfferData::mTransactionID, NULL, and LLNotifyBox::showXml().
Referenced by register_viewer_callbacks().
void process_places_reply | ( | LLMessageSystem * | msg, | |
void ** | data | |||
) |
Definition at line 521 of file llviewermessage.cpp.
References gAgent, LLMessageSystem::getUUID(), LLAgent::isInGroup(), LLUUID::isNull(), LL_ENDL, LL_WARNS, LLPanelGroupLandMoney::processPlacesReply(), and LLFloaterLandHoldings::processPlacesReply().
Referenced by register_viewer_callbacks().
void process_preload_sound | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 3318 of file llviewermessage.cpp.
References _PREHASH_DataBlock, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_SoundID, LLAudioSource::addAudioData(), FALSE, LLViewerObjectList::findObject(), LLMute::flagObjectSounds, gAudiop, LLAudioEngine::getAudioData(), LLViewerObject::getAudioSource(), LLMuteList::getInstance(), LLMessageSystem::getUUIDFast(), and gObjectList.
Referenced by idle_startup().
void process_remove_name_value | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3885 of file llviewermessage.cpp.
References _PREHASH_ID, _PREHASH_NameValueData, _PREHASH_NVPair, _PREHASH_TaskData, LLViewerObjectList::findObject(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), gObjectList, i, LL_ENDL, LL_INFOS, NAME_VALUE_BUF_SIZE, and S32.
Referenced by register_viewer_callbacks().
void process_script_dialog | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 4987 of file llviewermessage.cpp.
References callback_script_dialog(), DB_FIRST_NAME_BUF_SIZE, DB_GROUP_NAME_BUF_SIZE, DB_INV_ITEM_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getS32(), LLMessageSystem::getSender(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), i, ScriptDialogInfo::mButtons, ScriptDialogInfo::mChatChannel, ScriptDialogInfo::mObjectID, ScriptDialogInfo::mSender, S32, SCRIPT_DIALOG_BUTTON_STR_SIZE, SCRIPT_DIALOG_HEADER, SCRIPT_DIALOG_MAX_BUTTONS, SCRIPT_DIALOG_MAX_MESSAGE_SIZE, LLNotifyBox::showXml(), and TRUE.
Referenced by register_viewer_callbacks().
void process_script_question | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 4449 of file llviewermessage.cpp.
References _PREHASH_Data, _PREHASH_ItemID, _PREHASH_ObjectName, _PREHASH_ObjectOwner, _PREHASH_Questions, _PREHASH_TaskID, DB_FULL_NAME_BUF_SIZE, FALSE, LLControlGroup::getBOOL(), LLMuteList::getInstance(), LLMessageSystem::getS32Fast(), LLMessageSystem::getSender(), LLMessageSystem::getStringFast(), LLNotifyBox::getTemplateIsCaution(), LLNotifyBox::getTemplateMessage(), LLMessageSystem::getUUIDFast(), gSavedSettings, i, LL_ENDL, LL_INFOS, LLREQUEST_PERMISSION_THROTTLE_INTERVAL, LLREQUEST_PERMISSION_THROTTLE_LIMIT, LSCRIPTRunTimePermissionBits, S32, SCRIPT_PERMISSION_EOF, script_question_cb(), LLNotifyBox::showXml(), and TRUE.
Referenced by register_viewer_callbacks().
void process_script_teleport_request | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 5185 of file llviewermessage.cpp.
References LLURLDispatcher::buildSLURL(), LLURLDispatcher::dispatch(), FALSE, LLMessageSystem::getString(), LLMessageSystem::getVector3(), LLVector3::mV, S32, VX, VY, and VZ.
Referenced by register_viewer_callbacks().
void process_set_follow_cam_properties | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3738 of file llviewermessage.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectID, LLViewerObjectList::findObject(), FLAGS_CAMERA_SOURCE, FOLLOWCAM_ACTIVE, FOLLOWCAM_BEHINDNESS_ANGLE, FOLLOWCAM_BEHINDNESS_LAG, FOLLOWCAM_DISTANCE, FOLLOWCAM_FOCUS_LAG, FOLLOWCAM_FOCUS_LOCKED, FOLLOWCAM_FOCUS_OFFSET_X, FOLLOWCAM_FOCUS_OFFSET_Y, FOLLOWCAM_FOCUS_OFFSET_Z, FOLLOWCAM_FOCUS_THRESHOLD, FOLLOWCAM_FOCUS_X, FOLLOWCAM_FOCUS_Y, FOLLOWCAM_FOCUS_Z, FOLLOWCAM_PITCH, FOLLOWCAM_POSITION_LAG, FOLLOWCAM_POSITION_LOCKED, FOLLOWCAM_POSITION_THRESHOLD, FOLLOWCAM_POSITION_X, FOLLOWCAM_POSITION_Y, FOLLOWCAM_POSITION_Z, LLMessageSystem::getF32(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getS32(), LLMessageSystem::getUUIDFast(), gObjectList, LLViewerObject::mFlags, LLVector3::mV, S32, LLFollowCamMgr::setBehindnessAngle(), LLFollowCamMgr::setBehindnessLag(), LLFollowCamMgr::setCameraActive(), LLFollowCamMgr::setDistance(), LLFollowCamMgr::setFocus(), LLFollowCamMgr::setFocusLag(), LLFollowCamMgr::setFocusLocked(), LLFollowCamMgr::setFocusOffset(), LLFollowCamMgr::setFocusThreshold(), LLFollowCamMgr::setPitch(), LLFollowCamMgr::setPosition(), LLFollowCamMgr::setPositionLag(), LLFollowCamMgr::setPositionLocked(), LLFollowCamMgr::setPositionThreshold(), VX, VY, and VZ.
Referenced by register_viewer_callbacks().
void process_sim_stats | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) |
Definition at line 3414 of file llviewermessage.cpp.
References LLStat::addValue(), LLAgent::canFly(), gAgent, LLViewerRegion::getBlockFly(), LLMessageSystem::getF32(), LLAgent::getFlying(), LLSingleton< LLViewerStats >::getInstance(), LLMessageSystem::getNumberOfBlocks(), LLAgent::getRegion(), LLMessageSystem::getU32(), i, LL_DEBUGS, LL_ENDL, LL_SIM_STAT_AGENTMS, LL_SIM_STAT_AGENTUPS, LL_SIM_STAT_FPS, LL_SIM_STAT_FRAMEMS, LL_SIM_STAT_IMAGESMS, LL_SIM_STAT_INPPS, LL_SIM_STAT_LSLIPS, LL_SIM_STAT_NETMS, LL_SIM_STAT_NUMAGENTCHILD, LL_SIM_STAT_NUMAGENTMAIN, LL_SIM_STAT_NUMSCRIPTSACTIVE, LL_SIM_STAT_NUMTASKS, LL_SIM_STAT_NUMTASKSACTIVE, LL_SIM_STAT_OUTPPS, LL_SIM_STAT_PENDING_DOWNLOADS, LL_SIM_STAT_PENDING_LOCAL_UPLOADS, LL_SIM_STAT_PENDING_UPLOADS, LL_SIM_STAT_PHYSFPS, LL_SIM_STAT_PHYSICS_LOD_TASKS, LL_SIM_STAT_PHYSICS_PINNED_TASKS, LL_SIM_STAT_SCRIPTMS, LL_SIM_STAT_SIMOTHERMS, LL_SIM_STAT_SIMPHYSICSMEMORY, LL_SIM_STAT_SIMPHYSICSMS, LL_SIM_STAT_SIMPHYSICSOTHERMS, LL_SIM_STAT_SIMPHYSICSSHAPEMS, LL_SIM_STAT_SIMPHYSICSSTEPMS, LL_SIM_STAT_TIME_DILATION, LL_SIM_STAT_TOTAL_UNACKED_BYTES, LLViewerStats::mPhysicsLODTasks, LLViewerStats::mPhysicsMemoryAllocated, LLViewerStats::mPhysicsPinnedTasks, LLViewerStats::mSimActiveObjects, LLViewerStats::mSimActiveScripts, LLViewerStats::mSimAgentMsec, LLViewerStats::mSimAgentUPS, LLViewerStats::mSimChildAgents, LLViewerStats::mSimFPS, LLViewerStats::mSimFrameMsec, LLViewerStats::mSimImagesMsec, LLViewerStats::mSimInPPS, LLViewerStats::mSimLSLIPS, LLViewerStats::mSimMainAgents, LLViewerStats::mSimNetMsec, LLViewerStats::mSimObjects, LLViewerStats::mSimOutPPS, LLViewerStats::mSimPendingDownloads, LLViewerStats::mSimPendingLocalUploads, LLViewerStats::mSimPendingUploads, LLViewerStats::mSimPhysicsFPS, LLViewerStats::mSimScriptMsec, LLViewerStats::mSimSimOtherMsec, LLViewerStats::mSimSimPhysicsMsec, LLViewerStats::mSimSimPhysicsOtherMsec, LLViewerStats::mSimSimPhysicsShapeUpdateMsec, LLViewerStats::mSimSimPhysicsStepMsec, LLViewerStats::mSimTimeDilation, LLViewerStats::mSimTotalUnackedBytes, S32, LLAgent::setFlying(), LLViewerRegion::setMaxTasks(), and LLViewerRegion::setRegionFlags().
Referenced by register_viewer_callbacks().
void process_sound_trigger | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 3271 of file llviewermessage.cpp.
References _PREHASH_Gain, _PREHASH_Handle, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_ParentID, _PREHASH_Position, _PREHASH_SoundData, _PREHASH_SoundID, LLMute::flagObjectSounds, from_region_handle(), gain(), gAudiop, LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLMessageSystem::getF32Fast(), LLMuteList::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), gSavedSettings, LLMuteList::isMuted(), LLVector3d::mdV, LLVector3::mV, LLUUID::notNull(), LLAudioEngine::triggerSound(), VX, VY, and VZ.
Referenced by idle_startup().
void process_teleport_failed | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 4668 of file llviewermessage.cpp.
References _PREHASH_Info, _PREHASH_Reason, LLViewerWindow::alertXml(), gAgent, LLMessageSystem::getStringFast(), LLAgent::getTeleportState(), gViewerWindow, LLAgent::setTeleportState(), STD_STRING_BUF_SIZE, LLAgent::sTeleportErrorMessages, and LLAgent::TELEPORT_NONE.
Referenced by register_viewer_callbacks().
void process_teleport_finish | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2546 of file llviewermessage.cpp.
References _PREHASH_AgentID, _PREHASH_CircuitCode, _PREHASH_Code, _PREHASH_ID, _PREHASH_Info, _PREHASH_LocationID, _PREHASH_RegionHandle, _PREHASH_SeedCapability, _PREHASH_SessionID, _PREHASH_SimIP, _PREHASH_SimPort, _PREHASH_TeleportFlags, _PREHASH_UseCircuitCode, LLWorld::addRegion(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLHUDManager::createViewerEffect(), LLMessageSystem::enableCircuit(), gAgent, LLAgent::getEffectColor(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLHUDManager >::getInstance(), LLMessageSystem::getIPAddrFast(), LLMessageSystem::getIPPortFast(), LLMessageSystem::getOurCircuitCode(), LLAgent::getPositionGlobal(), LLAgent::getSessionID(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), gMessageSystem, LLAgent::isGodlike(), LL_DEBUGS, LL_ENDL, LLHUDObject::LL_HUD_EFFECT_POINT, LL_INFOS, LL_WARNS, LLPostTeleportNotifiers::LLPostTeleportNotifiers(), LLMessageSystem::mOurCircuitCode, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), send_complete_agent_movement(), LLHUDManager::sendEffects(), LLMessageSystem::sendReliable(), LLHUDEffect::setColor(), LLAgent::setHomePosRegion(), LLHUDObject::setPositionGlobal(), LLViewerRegion::setSeedCapability(), LLAgent::setTeleportMessage(), LLAgent::setTeleportState(), STD_STRING_BUF_SIZE, LLAgent::sTeleportProgressMessages, TELEPORT_FLAGS_SET_HOME_TO_TARGET, LLAgent::TELEPORT_MOVING, TRUE, and LLFirstUse::useTeleport().
Referenced by register_viewer_callbacks().
void process_teleport_local | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 4692 of file llviewermessage.cpp.
References _PREHASH_AgentID, _PREHASH_Info, _PREHASH_LocationID, _PREHASH_LookAt, _PREHASH_Position, _PREHASH_TeleportFlags, FALSE, gAgent, LLAgent::getID(), LLAgent::getTeleportState(), LLMessageSystem::getU32Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), LL_ENDL, LL_WARNS, LLAgent::resetView(), send_agent_update(), LLAgent::setFlying(), LLAgent::setPositionAgent(), LLAgent::setTeleportState(), LLAgent::slamLookAt(), TELEPORT_FLAGS_IS_FLYING, LLAgent::TELEPORT_NONE, TRUE, and LLAgent::updateCamera().
Referenced by register_viewer_callbacks().
void process_teleport_progress | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2402 of file llviewermessage.cpp.
References FALSE, gAgent, LLAgent::getID(), LLMessageSystem::getString(), LLAgent::getTeleportState(), LLMessageSystem::getU32(), LLMessageSystem::getUUID(), gViewerWindow, LL_DEBUGS, LL_ENDL, LL_WARNS, MAX_STRING, LLViewerWindow::setProgressCancelButtonVisible(), LLAgent::setTeleportMessage(), LLAgent::sTeleportProgressMessages, TELEPORT_FLAGS_DISABLE_CANCEL, LLAgent::TELEPORT_NONE, and TRUE.
Referenced by register_viewer_callbacks().
void process_teleport_start | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 2374 of file llviewermessage.cpp.
References FALSE, gAgent, LLAgent::getTeleportState(), LLMessageSystem::getU32(), gTeleportDisplay, gViewerWindow, make_ui_sound(), LLViewerWindow::setProgressCancelButtonVisible(), LLAgent::setTeleportState(), TELEPORT_FLAGS_DISABLE_CANCEL, LLAgent::TELEPORT_NONE, LLAgent::TELEPORT_START, and TRUE.
Referenced by register_viewer_callbacks().
void process_terse_object_update_improved | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3157 of file llviewermessage.cpp.
References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), gObjectBits, gObjectList, LLMemType::MTYPE_OBJECT, OUT_TERSE_IMPROVED, and LLViewerObjectList::processCompressedObjectUpdate().
Referenced by register_viewer_callbacks().
void process_time_synch | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 3238 of file llviewermessage.cpp.
References _PREHASH_SecPerDay, _PREHASH_SecPerYear, _PREHASH_SunAngVelocity, _PREHASH_SunDirection, _PREHASH_SunPhase, _PREHASH_TimeInfo, _PREHASH_UsecSinceStart, LLControlGroup::getBOOL(), LLMessageSystem::getF32Fast(), LLSingleton< LLWorld >::getInstance(), LLSky::getOverrideSun(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getVector3Fast(), gNoRender, gSavedSettings, gSky, LLWorld::setSpaceTimeUSec(), LLSky::setSunDirection(), LLSky::setSunPhase(), and LLSky::setSunTargetDirection().
Referenced by register_viewer_callbacks().
void process_user_info_reply | ( | LLMessageSystem * | msg, | |
void ** | ||||
) |
Definition at line 4922 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_EMail, _PREHASH_IMViaEMail, _PREHASH_UserData, DB_USER_EMAIL_ADDR_BUF_SIZE, gAgent, LLMessageSystem::getBOOLFast(), LLAgent::getID(), LLMessageSystem::getString(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), LL_ENDL, LL_WARNS, MAX_STRING, LLFloaterPostcard::updateUserInfo(), and LLFloaterPreference::updateUserInfo().
Referenced by register_viewer_callbacks().
void script_question_cb | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 4394 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_ItemID, _PREHASH_Questions, _PREHASH_ScriptAnswerYes, _PREHASH_SessionID, _PREHASH_TaskID, LLMuteList::add(), LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLControlGroup::getBOOL(), LLAgent::getID(), LLMuteList::getInstance(), LLAgent::getSessionID(), gMessageSystem, gNotifyBoxView, gSavedSettings, LLScriptQuestionCBData::mItemID, LLScriptQuestionCBData::mObjectName, LLScriptQuestionCBData::mQuestions, LLScriptQuestionCBData::mSender, LLScriptQuestionCBData::mTaskID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), notify_cautioned_script_question(), LLMute::OBJECT, LLNotifyBoxView::purgeMessagesMatching(), S32, LLMessageSystem::sendReliable(), and TRUE.
Referenced by process_script_question().
void script_question_decline_cb | ( | S32 | option, | |
void * | user_data | |||
) |
Definition at line 4362 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_ItemID, _PREHASH_Questions, _PREHASH_ScriptAnswerYes, _PREHASH_SessionID, _PREHASH_TaskID, LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLScriptQuestionCBData::mItemID, LLScriptQuestionCBData::mQuestions, LLScriptQuestionCBData::mSender, LLScriptQuestionCBData::mTaskID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), notify_cautioned_script_question(), S32, and LLMessageSystem::sendReliable().
Definition at line 2882 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AgentUpdate, _PREHASH_BodyRotation, _PREHASH_CameraAtAxis, _PREHASH_CameraCenter, _PREHASH_CameraLeftAxis, _PREHASH_CameraUpAxis, _PREHASH_ControlFlags, _PREHASH_Far, _PREHASH_Flags, _PREHASH_HeadRotation, _PREHASH_SessionID, _PREHASH_State, LLMessageSystem::addF32Fast(), LLMessageSystem::addQuatFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), AGENT_CONTROL_LBUTTON_DOWN, AGENT_CONTROL_LBUTTON_UP, AGENT_CONTROL_ML_LBUTTON_DOWN, AGENT_CONTROL_ML_LBUTTON_UP, AGENT_UPDATES_PER_SECOND, AU_FLAGS_HIDETITLE, AU_FLAGS_NONE, LLKeyboard::currentMask(), dot(), LLAgent::enableControlFlagReset(), F_PI, gAgent, gDebugClicks, gDisconnected, LLCoordFrame::getAtAxis(), LLAgent::getCameraPositionAgent(), LLAgent::getControlFlags(), LLAgent::getFrameAgent(), LLAgent::getHeadRotation(), LLAgent::getID(), LLSingleton< LLViewerCamera >::getInstance(), LLCoordFrame::getLeftAxis(), LLCoordFrame::getQuaternion(), LLAgent::getRegion(), LLAgent::getRenderState(), LLAgent::getSessionID(), LLAgent::getTeleportState(), LLCoordFrame::getUpAxis(), gKeyboard, gMessageSystem, LLAppViewer::instance(), LLAgent::isGroupTitleHidden(), LL_ENDL, LL_INFOS, LLAppViewer::logoutRequestSent(), LLVector3::magVec(), MASK_ALT, MASK_CONTROL, MAX_HEAD_ROT_QDOT, LLAgent::mDrawDistance, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, ROTATION_THRESHOLD, LLAgent::sendMessage(), LLAgent::sendReliableMessage(), LLAgent::TELEPORT_NONE, THRESHOLD_HEAD_ROT_QDOT, and TRUE.
Referenced by LLPanelDisplay::applyResolution(), LLAppViewer::idle(), process_agent_movement_complete(), and process_teleport_local().
void send_complete_agent_movement | ( | const LLHost & | sim_host | ) |
Definition at line 231 of file llviewermessage.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_CircuitCode, _PREHASH_CompleteAgentMovement, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::mOurCircuitCode, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by idle_startup(), process_crossed_region(), and process_teleport_finish().
void send_group_notice | ( | const LLUUID & | group_id, | |
const char * | subject, | |||
const char * | message, | |||
const LLInventoryItem * | item | |||
) |
Definition at line 4755 of file llviewermessage.cpp.
References LLAgent::buildFullname(), EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, gAgent, LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLInventoryObject::getUUID(), IM_GROUP_NOTICE, IM_ONLINE, LLSDSerialize::LLSD_XML, MAX_INVENTORY_BUFFER_SIZE, NO_TIMESTAMP, LLUUID::null, S32, send_improved_im(), and LLSDSerialize::serialize().
Referenced by LLPanelGroupNotices::onClickSendMessage().
void send_improved_im | ( | const LLUUID & | to_id, | |
const char * | name, | |||
const char * | message, | |||
U8 | offline, | |||
EInstantMessage | dialog, | |||
const LLUUID & | id, | |||
U32 | timestamp, | |||
const U8 * | binary_bucket, | |||
S32 | binary_bucket_size | |||
) |
Definition at line 4866 of file llviewermessage.cpp.
References FALSE, gAgent, LLAgent::getID(), LLAgent::getPositionAgent(), LLAgent::getSessionID(), gMessageSystem, LLUUID::null, pack_instant_message(), and LLAgent::sendReliableMessage().
Referenced by join_group_callback(), LLPanelFriends::requestFriendship(), send_group_notice(), and send_simple_im().
void send_places_query | ( | const LLUUID & | query_id, | |
const LLUUID & | trans_id, | |||
const char * | query_text, | |||
U32 | query_flags, | |||
S32 | category, | |||
const char * | sim_name | |||
) |
Definition at line 4897 of file llviewermessage.cpp.
References LLMessageSystem::addS8(), LLMessageSystem::addString(), LLMessageSystem::addU32(), LLMessageSystem::addUUID(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLAgent::sendReliableMessage().
Referenced by LLPanelGroupLandMoney::impl::requestGroupLandInfo(), and LLFloaterLandHoldings::show().
void send_simple_im | ( | const LLUUID & | to_id, | |
const char * | message, | |||
EInstantMessage | dialog, | |||
const LLUUID & | id | |||
) |
Definition at line 4737 of file llviewermessage.cpp.
References LLAgent::buildFullname(), EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, gAgent, IM_ONLINE, NO_TIMESTAMP, and send_improved_im().
Referenced by lure_callback().
Definition at line 540 of file llviewermessage.cpp.
References _PREHASH_Gain, _PREHASH_Handle, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_ParentID, _PREHASH_Position, _PREHASH_SoundData, _PREHASH_SoundID, _PREHASH_SoundTrigger, LLMessageSystem::addF32Fast(), LLMessageSystem::addU64Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), gAgent, LLViewerRegion::getHandle(), LLAgent::getPositionAgent(), LLAgent::getRegion(), gMessageSystem, LLUUID::isNull(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::null, and LLAgent::sendMessage().
Referenced by LLViewerGesture::doTrigger(), LLFloaterCustomize::onBtnSnapshot(), LLTaskSoundBridge::performAction(), LLViewerWindow::playSnapshotAnimAndSound(), LLPreviewSound::playSound(), LLSoundBridge::previewItem(), and LLGestureManager::runStep().
void start_new_inventory_observer | ( | ) |
Definition at line 689 of file llviewermessage.cpp.
References LLInventoryModel::addObserver(), and gInventory.
Referenced by LLInventoryModel::messageUpdateCore().
const F32 BIRD_AUDIBLE_RADIUS = 32.0f |
Definition at line 147 of file llviewermessage.cpp.
Definition at line 330 of file llviewermessage.cpp.
Referenced by exported_item_complete(), and exported_j2c_complete().
Definition at line 329 of file llviewermessage.cpp.
Referenced by exported_item_complete(), and exported_j2c_complete().
Definition at line 328 of file llviewermessage.cpp.
Referenced by exported_item_complete(), and exported_j2c_complete().
Definition at line 327 of file llviewermessage.cpp.
Referenced by exported_item_complete(), and exported_j2c_complete().
Definition at line 57 of file llwindow.cpp.
Definition at line 4883 of file llviewermenu.cpp.
Definition at line 4881 of file llviewermenu.cpp.
Definition at line 338 of file llviewermessage.cpp.
Definition at line 4880 of file llviewermenu.cpp.
std::map<LLUUID, LLString> gImageChecksums |
Definition at line 340 of file llviewermessage.cpp.
Referenced by export_complete(), and exported_j2c_complete().
time_t gLastDisplayedTime = 0 |
Definition at line 4136 of file llviewermessage.cpp.
std::vector<LoadUrlInfo*> gLoadUrlList |
Definition at line 5059 of file llviewermessage.cpp.
Referenced by callback_load_url_name(), and process_load_url().
Definition at line 4135 of file llviewermessage.cpp.
Referenced by mean_name_callback(), process_mean_collision_alert_message(), and LLFloaterBump::show().
LLOpenTaskOffer* gNewInventoryObserver = NULL |
Definition at line 687 of file llviewermessage.cpp.
Definition at line 494 of file llviewerstats.cpp.
Referenced by process_cached_object_update(), process_compressed_object_update(), process_object_update(), process_terse_object_update_improved(), and update_statistics().
Definition at line 164 of file llviewermessage.cpp.
const F32 LLREQUEST_PERMISSION_THROTTLE_INTERVAL = 10.0f [static] |
const U32 LLREQUEST_PERMISSION_THROTTLE_LIMIT = 5 [static] |
const F32 LOGOUT_REPLY_TIME = 3.f [static] |
Definition at line 149 of file llviewermessage.cpp.
const F32 MAX_HEAD_ROT_QDOT = 0.99999f |
const U32 OFFER_THROTTLE_MAX_COUNT = 5 |
const F32 OFFER_THROTTLE_TIME = 10.f |
const S32 SCRIPT_DIALOG_BUTTON_STR_SIZE = 24 |
const char* SCRIPT_DIALOG_HEADER = "Script Dialog:\n" |
const S32 SCRIPT_DIALOG_MAX_BUTTONS = 12 |
const S32 SCRIPT_DIALOG_MAX_MESSAGE_SIZE = 512 |
const LLString SCRIPT_QUESTIONS[SCRIPT_PERMISSION_EOF] |
Initial value:
{ "ScriptTakeMoney", "ActOnControlInputs", "RemapControlInputs", "AnimateYourAvatar", "AttachToYourAvatar", "ReleaseOwnership", "LinkAndDelink", "AddAndRemoveJoints", "ChangePermissions", "TrackYourCamera", "ControlYourCamera" }
Definition at line 169 of file llviewermessage.cpp.
const F32 SIT_DISTANCE_FROM_TARGET = 0.25f |
Definition at line 148 of file llviewermessage.cpp.
const F32 THRESHOLD_HEAD_ROT_QDOT = 0.9997f |