llviewermessage.cpp File Reference

Dumping ground for viewer-side message system callbacks. More...

#include "llviewerprecompiledheaders.h"
#include "llviewermessage.h"
#include <deque>
#include "audioengine.h"
#include "audiosettings.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 "llfloaterimport.h"
#include "llfocusmgr.h"
#include "llfollowcamparams.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 "llviewercommunication.h"
#include "llwindow.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 "llviewercontrol.h"
#include "lldrawpool.h"
#include "llfirstuse.h"
#include "llfloateractivespeakers.h"
#include "llfloaterbuycurrency.h"
#include "llfloaterbuyland.h"
#include "llfloaterchat.h"
#include "llfloatereventlog.h"
#include "llfloatergroupinfo.h"
#include "llfloaterimagepreview.h"
#include "llfloaterland.h"
#include "llfloaterregioninfo.h"
#include "llfloaterlandholdings.h"
#include "llfloatermap.h"
#include "llfloatermute.h"
#include "llfloaterpostcard.h"
#include "llfloaterpreference.h"
#include "llfloaterreleasemsg.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 "llregionnamecache.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 "viewer.h"
#include "llfloaterworldmap.h"
#include "llkeythrottle.h"
#include "llpanelavatar.h"
#include "llfloateravatarlist.h"
#include <boost/tokenizer.hpp>

Include dependency graph for llviewermessage.cpp:

Go to the source code of this file.

Classes

struct  LLFriendshipOffer
struct  exported_image_info
struct  LLJoinGroupData
class  LLOpenAgentOffer
class  LLOpenTaskOffer
class  LLDiscardAgentOffer
struct  LLLureInfo
struct  LLCallingCardOfferData
class  LLFetchInWelcomeArea
class  LLPostTeleportNotifiers
class  LLScriptQuestionCBData
struct  ScriptDialogInfo
struct  LoadUrlInfo

Functions

void bad_network_handler ()
void open_offer (const std::vector< LLUUID > &items, const std::string &from_name)
void friendship_offer_callback (S32 option, void *user_data)
bool check_offer_throttle (const std::string &from_name, bool check_only)
void give_money (const LLUUID &uuid, LLViewerRegion *region, S32 amount, BOOL is_group, S32 trx_type, const LLString &desc)
void send_complete_agent_movement (const LLHost &sim_host)
void process_logout_reply (LLMessageSystem *msg, void **)
void process_layer_data (LLMessageSystem *mesgsys, void **user_data)
void export_complete ()
void exported_item_complete (const LLTSCode status, void *user_data)
void exported_j2c_complete (const LLTSCode status, void *user_data)
void process_derez_ack (LLMessageSystem *, void **)
void process_places_reply (LLMessageSystem *msg, void **data)
void send_sound_trigger (const LLUUID &sound_id, F32 gain)
void join_group_callback (S32 option, void *user_data)
void start_new_inventory_observer ()
void inventory_offer_mute_callback (const LLUUID &blocked_id, const char *first_name, const char *last_name, BOOL is_group, void *user_data)
void inventory_offer_callback (S32 button, void *user_data)
void inventory_offer_handler (LLOfferInfo *info, BOOL from_task)
void group_vote_callback (S32 option, void *userdata)
void lure_callback (S32 option, void *user_data)
void goto_url_callback (S32 option, void *user_data)
void process_improved_im (LLMessageSystem *msg, void **user_data)
void busy_message (LLMessageSystem *msg, LLUUID from_id)
void callingcard_offer_callback (S32 option, void *user_data)
void process_offer_callingcard (LLMessageSystem *msg, void **)
void process_accept_callingcard (LLMessageSystem *msg, void **)
void process_decline_callingcard (LLMessageSystem *msg, void **)
void process_chat_from_simulator (LLMessageSystem *msg, void **user_data)
void process_teleport_start (LLMessageSystem *msg, void **)
void process_teleport_progress (LLMessageSystem *msg, void **)
void process_teleport_finish (LLMessageSystem *msg, void **)
void process_agent_movement_complete (LLMessageSystem *msg, void **)
void process_crossed_region (LLMessageSystem *msg, void **)
void send_agent_update (BOOL force_send, BOOL send_reliable)
void process_object_update (LLMessageSystem *mesgsys, void **user_data)
void process_compressed_object_update (LLMessageSystem *mesgsys, void **user_data)
void process_cached_object_update (LLMessageSystem *mesgsys, void **user_data)
void process_terse_object_update_improved (LLMessageSystem *mesgsys, void **user_data)
void process_kill_object (LLMessageSystem *mesgsys, void **user_data)
void process_time_synch (LLMessageSystem *mesgsys, void **user_data)
void process_sound_trigger (LLMessageSystem *msg, void **)
void process_preload_sound (LLMessageSystem *msg, void **user_data)
void process_attached_sound (LLMessageSystem *msg, void **user_data)
void process_attached_sound_gain_change (LLMessageSystem *mesgsys, void **user_data)
void process_health_message (LLMessageSystem *mesgsys, void **user_data)
void process_sim_stats (LLMessageSystem *msg, void **user_data)
void process_avatar_animation (LLMessageSystem *mesgsys, void **user_data)
void process_avatar_appearance (LLMessageSystem *mesgsys, void **user_data)
void process_camera_constraint (LLMessageSystem *mesgsys, void **user_data)
void near_sit_object (BOOL success, void *data)
void process_avatar_sit_response (LLMessageSystem *mesgsys, void **user_data)
void process_clear_follow_cam_properties (LLMessageSystem *mesgsys, void **user_data)
void process_set_follow_cam_properties (LLMessageSystem *mesgsys, void **user_data)
void process_name_value (LLMessageSystem *mesgsys, void **user_data)
void process_remove_name_value (LLMessageSystem *mesgsys, void **user_data)
void process_kick_user (LLMessageSystem *msg, void **)
void process_money_balance_reply (LLMessageSystem *msg, void **)
void process_agent_alert_message (LLMessageSystem *msgsystem, void **user_data)
void process_alert_message (LLMessageSystem *msgsystem, void **user_data)
void process_alert_core (const char *buffer, BOOL modal)
void handle_show_mean_events (void *)
void mean_name_callback (const LLUUID &id, const char *first, const char *last, BOOL always_false, void *data)
void process_mean_collision_alert_message (LLMessageSystem *msgsystem, void **user_data)
void process_frozen_message (LLMessageSystem *msgsystem, void **user_data)
void process_economy_data (LLMessageSystem *msg, void **)
void notify_cautioned_script_question (LLScriptQuestionCBData *cbdata, S32 orig_questions, BOOL granted)
void script_question_decline_cb (S32 option, void *user_data)
void script_question_cb (S32 option, void *user_data)
void process_script_question (LLMessageSystem *msg, void **user_data)
void process_derez_container (LLMessageSystem *msg, void **)
void container_inventory_arrived (LLViewerObject *object, InventoryObjectList *inventory, S32 serial_num, void *data)
char * formatted_time (const time_t &the_time, char *buffer)
void process_teleport_failed (LLMessageSystem *msg, void **)
void process_teleport_local (LLMessageSystem *msg, void **)
void send_simple_im (const LLUUID &to_id, const char *message, EInstantMessage dialog, const LLUUID &id)
void send_group_notice (const LLUUID &group_id, const char *subject, const char *message, const LLInventoryItem *item)
void handle_lure_callback (S32 option, const LLString &text, void *userdata)
void handle_lure_callback_godlike (S32 option, void *userdata)
void handle_lure (const LLUUID &invitee)
void handle_lure (LLDynamicArray< LLUUID > &ids)
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)
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)
void process_user_info_reply (LLMessageSystem *msg, void **)
void callback_script_dialog (S32 option, void *data)
void process_script_dialog (LLMessageSystem *msg, void **)
void callback_load_url (S32 option, void *data)
void callback_load_url_name (const LLUUID &id, const char *first, const char *last, BOOL is_group, void *data)
void process_load_url (LLMessageSystem *msg, void **)
void callback_download_complete (void **data, S32 result, LLExtStat ext_status)
void process_initiate_download (LLMessageSystem *msg, void **)
void process_script_teleport_request (LLMessageSystem *msg, void **)
void process_covenant_reply (LLMessageSystem *msg, void **)
void callbackCacheEstateOwnerName (const LLUUID &id, const char *first, const char *last, BOOL is_group, void *)
void onCovenantLoadComplete (LLVFS *vfs, const LLUUID &asset_uuid, LLAssetType::EType type, void *user_data, S32 status, LLExtStat ext_status)
void process_feature_disabled_message (LLMessageSystem *msg, void **)
void invalid_message_callback (LLMessageSystem *msg, void *, EMessageException exception)

Variables

const F32 BIRD_AUDIBLE_RADIUS = 32.0f
const F32 SIT_DISTANCE_FROM_TARGET = 0.25f
static const F32 LOGOUT_REPLY_TIME = 3.f
static const U32 LLREQUEST_PERMISSION_THROTTLE_LIMIT = 5
static const F32 LLREQUEST_PERMISSION_THROTTLE_INTERVAL = 10.0f
BOOL gDebugClicks
LLFrameTimer gThrottleTimer
const U32 OFFER_THROTTLE_MAX_COUNT = 5
const F32 OFFER_THROTTLE_TIME = 10.f
const LLString SCRIPT_QUESTIONS [SCRIPT_PERMISSION_EOF]
S32 exported_object_count = 0
S32 exported_image_count = 0
S32 current_object_count = 0
S32 current_image_count = 0
LLNotifyBoxgExporterNotify
LLUUID gExporterRequestID
LLString gExportDirectory
LLUploadDialoggExportDialog
LLString gExportedFile
std::map< LLUUID, LLStringgImageChecksums
LLOpenTaskOffergNewInventoryObserver = NULL
const F32 THRESHOLD_HEAD_ROT_QDOT = 0.9997f
const F32 MAX_HEAD_ROT_QDOT = 0.99999f
U32 gObjectBits
LLLinkedList< LLMeanCollisionDatagMeanCollisionList
time_t gLastDisplayedTime = 0
const S32 SCRIPT_DIALOG_MAX_BUTTONS = 12
const S32 SCRIPT_DIALOG_BUTTON_STR_SIZE = 24
const S32 SCRIPT_DIALOG_MAX_MESSAGE_SIZE = 512
const char * SCRIPT_DIALOG_HEADER = "Script Dialog:\n"
std::vector< LoadUrlInfo * > gLoadUrlList


Detailed Description

Dumping ground for viewer-side message system callbacks.

LicenseInfo
firstyear=2002&license=viewergpl

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 llviewermessage.cpp.


Function Documentation

void bad_network_handler (  ) 

void busy_message ( LLMessageSystem msg,
LLUUID  from_id 
)

Definition at line 1989 of file llviewermessage.cpp.

References FALSE, gAgent, LLAgent::getBusy(), LLAgent::getID(), LLAgent::getSessionID(), LLControlGroup::getText(), gMessageSystem, gSavedPerAccountSettings, IM_CONSOLE_AND_CHAT_HISTORY, IM_ONLINE, pack_instant_message(), LLAgent::sendReliableMessage(), and SYSTEM_FROM.

Referenced by callingcard_offer_callback(), inventory_offer_callback(), and process_improved_im().

void callback_download_complete ( void **  data,
S32  result,
LLExtStat  ext_status 
)

Definition at line 5182 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 5095 of file llviewermessage.cpp.

References LLWeb::loadURL(), 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 5112 of file llviewermessage.cpp.

References callback_load_url(), gMuteListp, LLMuteList::isMuted(), NULL, LLUUID::null, and LLNotifyBox::showXml().

Referenced by process_load_url().

void callback_script_dialog ( S32  option,
void data 
)

Definition at line 4997 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 5292 of file llviewermessage.cpp.

References LLPanelEstateCovenant::updateEstateOwnerName(), LLPanelLandCovenant::updateEstateOwnerName(), and LLFloaterBuyLand::updateEstateOwnerName().

Referenced by process_covenant_reply().

void callingcard_offer_callback ( S32  option,
void user_data 
)

Definition at line 2059 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 763 of file llviewermessage.cpp.

References LLFloaterChat::addChat(), LLFrameTimer::checkExpirationAndReset(), FALSE, LLControlGroup::getBOOL(), LLStartUp::getStartupState(), gSavedSettings, gSecondLife, gThrottleTimer, LLFrameTimer::hasExpired(), 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 4581 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, end, 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, llendl, llinfos, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLInventoryModel::notifyObservers(), S32, LLMessageSystem::sendReliable(), LLInventoryPanel::setSelection(), TAKE_FOCUS_NO, time_corrected(), TRUE, and LLInventoryModel::updateItem().

void export_complete (  ) 

Definition at line 353 of file llviewermessage.cpp.

References LLFile::fopen(), gExportDirectory, gExportedFile, gExporterRequestID, gImageChecksums, llendl, llinfos, llwarns, 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 415 of file llviewermessage.cpp.

References current_image_count, current_object_count, export_complete(), exported_image_count, exported_object_count, gExportDialog, llendl, llformat(), llinfos, LLTS_OK, and LLUploadDialog::setMessage().

void exported_j2c_complete ( const LLTSCode  status,
void user_data 
)

Definition at line 446 of file llviewermessage.cpp.

References current_image_count, current_object_count, end, export_complete(), exported_image_count, exported_object_count, f, exported_image_info::filename, LLFile::fopen(), gDirUtilp, LLDir::getDirDelimiter(), gExportDialog, gImageChecksums, exported_image_info::image_id, exported_image_info::image_num, llendl, llformat(), llinfos, LLTS_OK, llwarns, LLFile::remove(), S32, and LLUploadDialog::setMessage().

char* formatted_time ( const time_t &  the_time,
char *  buffer 
)

Definition at line 4694 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 2008 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 206 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(), agent_get_id(), agent_get_session_id(), LLAggregatePermissions::AP_EMPTY, LLFloaterBuyCurrency::buyCurrency(), can_afford_transaction(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), gMessageSystem, llendl, llinfos, 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 1312 of file llviewermessage.cpp.

References LLWeb::loadURL().

Referenced by process_improved_im().

void group_vote_callback ( S32  option,
void userdata 
)

Definition at line 1249 of file llviewermessage.cpp.

References NULL, and LLFloaterGroupInfo::showFromUUID().

Referenced by process_improved_im().

void handle_lure ( LLDynamicArray< LLUUID > &  ids  ) 

Definition at line 4879 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 4871 of file llviewermessage.cpp.

void handle_lure_callback ( S32  option,
const LLString text,
void userdata 
)

Definition at line 4840 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 4866 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 4190 of file llviewermessage.cpp.

References gNoRender, NULL, and LLFloaterBump::show().

void invalid_message_callback ( LLMessageSystem msg,
void ,
EMessageException  exception 
)

Definition at line 5411 of file llviewermessage.cpp.

References bad_network_handler().

Referenced by idle_startup().

void inventory_offer_callback ( S32  button,
void user_data 
)

Definition at line 960 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(), LLOpenAgentOffer::done(), LLDiscardAgentOffer::done(), EMPTY_BINARY_BUCKET, EMPTY_BINARY_BUCKET_SIZE, FALSE, LLInventoryFetchComboObserver::fetch(), LLInventoryFetchObserver::fetchItems(), gAgent, gCacheName, LLCacheName::get(), LLInventoryModel::getCategory(), LLCacheName::getGroupName(), LLAgent::getID(), LLInventoryModel::getItem(), LLCacheName::getName(), LLAgent::getPositionAgent(), LLAgent::getSessionID(), gFloaterView, gInventory, gMessageSystem, gMuteListp, 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(), LLMuteList::isMuted(), lldebugs, llendl, llwarns, MAX_STRING, 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, LLUUID::null, 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 1177 of file llviewermessage.cpp.

References LLAssetType::AT_LANDMARK, LLAssetType::AT_NOTECARD, LLAssetType::AT_TEXTURE, FALSE, gAgent, gCacheName, LLControlGroup::getBOOL(), LLAgent::getBusy(), LLCacheName::getGroupName(), LLCacheName::getName(), gMuteListp, gSavedSettings, inventory_offer_callback(), IOR_ACCEPT, IOR_BUSY, IOR_MUTE, LLMuteList::isMuted(), LLAssetType::lookupHumanReadable(), MAX_STRING, 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 905 of file llviewermessage.cpp.

References LLMuteList::add(), LLMute::AGENT, LLView::getChildList(), gFloaterMute, gMuteListp, gNotifyBoxView, LLMute::GROUP, inventory_offer_callback(), LLView::removeChild(), LLFloaterMute::selectMute(), LLFloaterMute::show(), and type.

Referenced by inventory_offer_callback().

void join_group_callback ( S32  option,
void user_data 
)

Definition at line 586 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 1283 of file llviewermessage.cpp.

References gAgent, IM_LURE_ACCEPTED, 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 4200 of file llviewermessage.cpp.

References DB_FIRST_NAME_BUF_SIZE, DB_LAST_NAME_BUF_SIZE, gMeanCollisionList, gNoRender, LLMeanCollisionData::mFirstName, LLMeanCollisionData::mLastName, and LLMeanCollisionData::mPerp.

Referenced by process_mean_collision_alert_message().

void near_sit_object ( BOOL  success,
void data 
)

Definition at line 3730 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 4329 of file llviewermessage.cpp.

References LLFloaterChat::addChat(), count, 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, SCRIPT_QUESTIONS, 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 5316 of file llviewermessage.cpp.

References LLVFile::getSize(), LLTextEditor::getText(), gViewerStats, LLViewerTextEditor::importBuffer(), LLViewerStats::incStat(), LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE, LL_ERR_FILE_EMPTY, LL_ERR_INSUFFICIENT_PERMISSIONS, llendl, llerrs, llinfos, llwarns, NULL, LLVFile::READ, LLVFile::read(), S32, LLViewerStats::ST_DOWNLOAD_FAILED, LLPanelEstateCovenant::updateCovenantText(), LLPanelLandCovenant::updateCovenantText(), and LLFloaterBuyLand::updateCovenantText().

Referenced by process_covenant_reply().

void open_offer ( const std::vector< LLUUID > &  items,
const std::string &  from_name 
)

Definition at line 824 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(), end, FALSE, LLInventoryModel::findCategoryUUIDForType(), gAgent, gAwayTimer, LLInventoryView::getActiveInventory(), LLFocusMgr::getFocusCallback(), LLAgent::getID(), LLInventoryModel::getItem(), LLFocusMgr::getKeyboardFocus(), LLInventoryObject::getName(), LLInventoryView::getPanel(), LLFrameTimer::getStarted(), gFocusMgr, gInventory, LLInventoryModel::isObjectDescendentOf(), llendl, llwarns, 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 2156 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 4099 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 2706 of file llviewermessage.cpp.

References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AlwaysRun, _PREHASH_Data, _PREHASH_LookAt, _PREHASH_Position, _PREHASH_RegionHandle, _PREHASH_SessionID, _PREHASH_SetAlwaysRun, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), LLAgent::canFly(), LLAgent::clearBusy(), LLVOAvatar::clearChat(), LLVector4::clearVec(), do_disconnect(), FALSE, from_region_handle(), gAgent, gAgentMovementCompleted, gAssetStorage, gCacheName, LLAgent::getAlwaysRun(), LLAgent::getAvatarObject(), LLViewerRegion::getBlockFly(), LLAgent::getBusy(), LLAgent::getID(), LLViewerRegion::getName(), LLViewerRegion::getOriginGlobal(), LLAgent::getPositionGlobal(), LLViewerRegion::getPosRegionFromGlobal(), LLAgent::getRegion(), LLWorld::getRegionFromHandle(), LLViewerRegion::getRegionID(), LLMessageSystem::getSender(), LLAgent::getSessionID(), LLMessageSystem::getString(), LLAgent::getTeleportState(), LLTracker::getTrackedPositionGlobal(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), gLastVersionChannel, gObjectList, gRegionNameCache, gViewerThrottle, gViewerWindow, gWorldp, LLTracker::isTracking(), llendl, llinfos, llwarns, LLVector3::magVecSquared(), MAX_STRING, LLVector3d::mdV, LLVOAvatar::mFootPlane, LLVector3::mV, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLVector3::normVec(), NULL, LLRegionNameCache::put(), send_agent_update(), LLAgent::sendAgentSetAppearance(), LLAgent::sendReliableMessage(), LLViewerWindow::sendShapeToSim(), LLViewerThrottle::sendToSim(), LLAgent::setBusy(), LLAgent::setFlying(), LLAgent::setFocusOnAvatar(), LLViewerObject::setPositionAgent(), LLAgent::setRegion(), LLAgent::setTeleportState(), LLAssetStorage::setUpstream(), LLCacheName::setUpstream(), LLViewerObjectList::shiftObjects(), LLFloaterReleaseMsg::show(), LLAgent::slamLookAt(), LLVOAvatar::slamPosition(), LLTracker::stopTracking(), LLAgent::TELEPORT_MOVING, LLAgent::TELEPORT_NONE, LLAgent::TELEPORT_START_ARRIVAL, TRUE, LLAgent::updateCamera(), VX, VY, x, and y.

Referenced by idle_startup().

void process_alert_core ( const char *  buffer,
BOOL  modal 
)

Definition at line 4116 of file llviewermessage.cpp.

References LLViewerWindow::alertXml(), LLStringBase< char >::convertToS32(), FALSE, gDirUtilp, LLDir::getDirDelimiter(), LLDir::getLindenUserDir(), LLViewerWindow::getWindow(), LLViewerWindow::getWindowHeight(), LLViewerWindow::getWindowWidth(), gViewerStats, gViewerWindow, LLViewerStats::incStat(), llformat(), LLWindow::resetBusyCount(), S32, LLViewerWindow::saveSnapshot(), SCREEN_HOME_FILENAME, LLAlertDialog::showXml(), LLNotifyBox::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 4108 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 3395 of file llviewermessage.cpp.

References _PREHASH_DataBlock, _PREHASH_Flags, _PREHASH_Gain, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_SoundID, LLViewerObjectList::findObject(), LLMute::flagObjectSounds, gain(), LLMessageSystem::getF32Fast(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUIDFast(), gMuteListp, gObjectList, LLMuteList::isMuted(), and LLViewerObject::setAttachedSound().

Referenced by idle_startup().

void process_attached_sound_gain_change ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 3424 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 3625 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, llendl, llwarns, 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 3706 of file llviewermessage.cpp.

References _PREHASH_ID, _PREHASH_Sender, LLViewerObjectList::findObject(), LLMessageSystem::getUUIDFast(), gObjectList, llendl, llwarns, and LLVOAvatar::processAvatarAppearance().

Referenced by register_viewer_callbacks().

void process_avatar_sit_response ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 3743 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(), f, LLViewerObjectList::findObject(), gAgent, LLAgent::getAvatarObject(), LLMessageSystem::getBOOLFast(), LLAgent::getPosGlobalFromAgent(), LLViewerObject::getPositionAgent(), LLMessageSystem::getQuatFast(), LLXform::getRoot(), LLXform::getRotation(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), gObjectList, llendl, llwarns, 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 3182 of file llviewermessage.cpp.

References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), 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 3722 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 2167 of file llviewermessage.cpp.

References _PREHASH_Audible, _PREHASH_ChatData, _PREHASH_Message, _PREHASH_SourceType, LLFloaterChat::addChat(), LLFloaterChat::addChatHistory(), 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, f, FALSE, LLViewerObjectList::findObject(), LLMute::flagTextChat, gAgent, LLControlGroup::getBOOL(), LLAgent::getBusy(), LLFrameTimer::getElapsedSeconds(), LLAgent::getID(), LLViewerObject::getPositionAgent(), LLViewerObject::getRegion(), LLViewerRegion::getRegionID(), LLMessageSystem::getSender(), LLMessageSystem::getString(), LLMessageSystem::getStringFast(), LLMessageSystem::getU8(), LLMessageSystem::getU8Fast(), LLMessageSystem::getUUID(), gLocalSpeakerMgr, gMuteListp, gObjectList, gSavedSettings, gViewerCommunication, gWorldPointer, LLAgent::heardChat(), LLPrimitive::isAvatar(), LLMuteList::isLinden(), LLMuteList::isMuted(), llendl, llwarns, LLChat::mAudible, LLChat::mChatType, LLChat::mFromID, LLChat::mFromName, LLChat::mMuted, LLChat::mPosAgent, LLChat::mRegionID, LLChat::mSourceHost, LLChat::mSourceType, LLChat::mText, LLChat::mTime, LLViewerCommunication::parse(), 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 3788 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 3164 of file llviewermessage.cpp.

References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), 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 5233 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, LLPanelEstateCovenant::updateCovenantText(), LLPanelLandCovenant::updateCovenantText(), LLFloaterBuyLand::updateCovenantText(), LLPanelEstateCovenant::updateEstateName(), LLPanelLandCovenant::updateEstateName(), LLFloaterBuyLand::updateEstateName(), LLPanelEstateCovenant::updateLastModified(), LLPanelLandCovenant::updateLastModified(), and LLFloaterBuyLand::updateLastModified().

Referenced by register_viewer_callbacks().

void process_crossed_region ( LLMessageSystem msg,
void **   
)

Definition at line 2891 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(), LLMessageSystem::getIPAddrFast(), LLMessageSystem::getIPPortFast(), LLAgent::getSessionID(), LLMessageSystem::getStringFast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), gWorldp, llendl, llinfos, llwarns, 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 2161 of file llviewermessage.cpp.

References LLNotifyBox::showXml().

Referenced by register_viewer_callbacks().

void process_derez_ack ( LLMessageSystem ,
void **   
)

Definition at line 527 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 4576 of file llviewermessage.cpp.

References llendl, and llwarns.

Referenced by register_viewer_callbacks().

void process_economy_data ( LLMessageSystem msg,
void **   
)

Definition at line 4300 of file llviewermessage.cpp.

References LLPanel::childSetLabelArg(), gGlobalEconomy, gMenuHolder, llformat(), LLGlobalEconomy::processEconomyData(), S32, and LLFloaterImagePreview::setUploadAmount().

Referenced by register_viewer_callbacks().

void process_feature_disabled_message ( LLMessageSystem msg,
void **   
)

Definition at line 5394 of file llviewermessage.cpp.

References _PREHASH_AgentID, _PREHASH_ErrorMessage, _PREHASH_FailureInfo, _PREHASH_TransactionID, LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), llendl, llwarns, and MAX_STRING.

Referenced by register_viewer_callbacks().

void process_frozen_message ( LLMessageSystem msgsystem,
void **  user_data 
)

Definition at line 4281 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 3467 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 1322 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_OBJECT, 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(), 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, gMuteListp, gNoRender, gObjectList, goto_url_callback(), group_vote_callback(), gSavedPerAccountSettings, gViewerCommunication, 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(), lldebugs, llendl, llerrs, llinfos, llwarns, lure_callback(), MAX_STRING, LLOfferInfo::mDesc, LLJoinGroupData::mFee, LLOfferInfo::mFolderID, LLOfferInfo::mFromGroup, LLChat::mFromID, LLOfferInfo::mFromID, LLFriendshipOffer::mFromID, LLChat::mFromIM, LLChat::mFromName, LLOfferInfo::mFromName, LLOfferInfo::mFromObject, LLJoinGroupData::mGroupID, LLOfferInfo::mHost, LLFriendshipOffer::mHost, LLOfferInfo::mIM, LLJoinGroupData::mMessage, LLChat::mMuted, LLJoinGroupData::mName, LLOfferInfo::mObjectID, LLFriendshipOffer::mOnline, LLChat::mPosAgent, LLChat::mRegionID, LLChat::mSourceType, LLChat::mText, LLJoinGroupData::mTransactionID, LLOfferInfo::mTransactionID, LLFriendshipOffer::mTransactionID, MTUBYTES, LLOfferInfo::mType, NULL, LLUUID::null, pack_instant_message(), LLViewerCommunication::parse(), LLViewerObject::permYouOwner(), LLIMMgr::processIMTypingStart(), LLIMMgr::processIMTypingStop(), S32, send_generic_message(), LLAgent::sendReliableMessage(), LLGroupNotifyBox::show(), LLFloaterGroupInfo::showNotice(), LLNotifyBox::showXml(), SYSTEM_FROM, t, TIME_STR_LENGTH, and TRUE.

Referenced by register_viewer_callbacks().

void process_initiate_download ( LLMessageSystem msg,
void **   
)

Definition at line 5192 of file llviewermessage.cpp.

References callback_download_complete(), FALSE, gAgent, LLAgent::getID(), LLMessageSystem::getSender(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), gXferManager, LL_PATH_NONE, llendl, llwarns, and LLXferManager::requestFile().

Referenced by register_viewer_callbacks().

void process_kick_user ( LLMessageSystem msg,
void **   
)

Definition at line 3970 of file llviewermessage.cpp.

References _PREHASH_Reason, _PREHASH_UserInfo, do_disconnect(), and LLMessageSystem::getStringFast().

Referenced by register_viewer_callbacks().

void process_kill_object ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 3218 of file llviewermessage.cpp.

References _PREHASH_ID, _PREHASH_ObjectData, LLPipeline::addObject(), LLViewerObjectList::createObjectViewer(), f, LLViewerObjectList::findObject(), LLFastTimer::FTM_PROCESS_OBJECTS, gAgentID, LLMessageSystem::getNumberOfBlocksFast(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRegion(), LLXform::getScale(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), LLMessageSystem::getU32Fast(), LLViewerObjectList::getUUIDFromLocal(), gMessageSystem, gObjectList, gPipeline, gSelectMgr, gShowObjectUpdates, i, LLViewerObjectList::killObject(), LL_PCODE_LEGACY_TEXT_BUBBLE, llendl, llwarns, LLVOTextBubble::mColor, LLViewerObjectList::mNumUnknownKills, LLUUID::null, LLSelectMgr::removeObjectFromSelections(), S32, LLViewerObject::setPositionGlobal(), LLViewerObject::setScale(), LLColor4::setVec(), and t.

Referenced by register_viewer_callbacks().

void process_layer_data ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 297 of file llviewermessage.cpp.

References _PREHASH_Data, _PREHASH_LayerData, _PREHASH_LayerID, _PREHASH_Type, LLVLManager::addLayerData(), LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), LLWorld::getRegion(), LLMessageSystem::getS8Fast(), LLMessageSystem::getSender(), LLMessageSystem::getSizeFast(), gNoRender, gVLManager, gWorldp, llendl, llwarns, S32, size, and type.

Referenced by register_viewer_callbacks().

void process_load_url ( LLMessageSystem msg,
void **   
)

Definition at line 5154 of file llviewermessage.cpp.

References callback_load_url_name(), gCacheName, LLCacheName::get(), LLMessageSystem::getBOOL(), LLMessageSystem::getString(), LLMessageSystem::getUUID(), gMuteListp, LLMuteList::isMuted(), 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 248 of file llviewermessage.cpp.

References _PREHASH_InventoryData, _PREHASH_ItemID, LLInventoryModel::accountForUpdate(), LLInventoryModel::addChangedMask(), agent_get_id(), agent_get_session_id(), app_force_quit(), count, LLInventoryModel::getItem(), LLMessageSystem::getNumberOfBlocksFast(), LLInventoryObject::getParentUUID(), LLMessageSystem::getUUID(), LLMessageSystem::getUUIDFast(), gInventory, i, LLInventoryObserver::INTERNAL, llendl, llinfos, llwarns, LLInventoryModel::notifyObservers(), NULL, and S32.

Referenced by register_viewer_callbacks().

void process_mean_collision_alert_message ( LLMessageSystem msgsystem,
void **  user_data 
)

Definition at line 4226 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, TRUE, and type.

Referenced by register_viewer_callbacks().

void process_money_balance_reply ( LLMessageSystem msg,
void **   
)

Definition at line 4035 of file llviewermessage.cpp.

References _PREHASH_Description, _PREHASH_MoneyData, LLStatusBar::getBalance(), LLControlGroup::getBOOL(), LLMessageSystem::getS32(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUID(), gSavedSettings, gStatusBar, lldebugs, llendl, llinfos, 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 3918 of file llviewermessage.cpp.

References _PREHASH_ID, _PREHASH_NameValueData, _PREHASH_NVPair, _PREHASH_TaskData, LLViewerObject::addNVPair(), LLViewerObjectList::findObject(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), gObjectList, i, llendl, llinfos, NAME_VALUE_BUF_SIZE, and S32.

Referenced by register_viewer_callbacks().

void process_object_update ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 3146 of file llviewermessage.cpp.

References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), 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 2101 of file llviewermessage.cpp.

References _PREHASH_AgentBlock, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_TransactionID, callingcard_offer_callback(), LLViewerObjectList::findObject(), LLMute::flagTextChat, gAgent, LLAgent::getBusy(), LLViewerObject::getNVPair(), LLMessageSystem::getSender(), LLNameValue::getString(), LLMessageSystem::getUUIDFast(), gMuteListp, gObjectList, LLPrimitive::isAvatar(), LLMuteList::isMuted(), lldebugs, llendl, llwarns, 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 532 of file llviewermessage.cpp.

References gAgent, LLMessageSystem::getUUID(), LLAgent::isInGroup(), LLUUID::isNull(), llendl, llwarns, LLFloaterLandHoldings::processPlacesReply(), and LLPanelGroupLandMoney::processPlacesReply().

Referenced by register_viewer_callbacks().

void process_preload_sound ( LLMessageSystem msg,
void **  user_data 
)

Definition at line 3361 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(), LLMessageSystem::getUUIDFast(), gMuteListp, gObjectList, and LLMuteList::isMuted().

Referenced by idle_startup().

void process_remove_name_value ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 3944 of file llviewermessage.cpp.

References _PREHASH_ID, _PREHASH_NameValueData, _PREHASH_NVPair, _PREHASH_TaskData, LLViewerObjectList::findObject(), LLMessageSystem::getNumberOfBlocksFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getUUIDFast(), gObjectList, i, llendl, llinfos, NAME_VALUE_BUF_SIZE, LLViewerObject::removeNVPair(), and S32.

Referenced by register_viewer_callbacks().

void process_script_dialog ( LLMessageSystem msg,
void **   
)

Definition at line 5021 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, LLNotifyBox::showXml(), and TRUE.

Referenced by register_viewer_callbacks().

void process_script_question ( LLMessageSystem msg,
void **  user_data 
)

Definition at line 4483 of file llviewermessage.cpp.

References _PREHASH_Data, _PREHASH_ItemID, _PREHASH_ObjectName, _PREHASH_ObjectOwner, _PREHASH_Questions, _PREHASH_TaskID, count, DB_FULL_NAME_BUF_SIZE, FALSE, LLControlGroup::getBOOL(), LLMessageSystem::getS32Fast(), LLMessageSystem::getSender(), LLMessageSystem::getStringFast(), LLNotifyBox::getTemplateIsCaution(), LLNotifyBox::getTemplateMessage(), LLMessageSystem::getUUIDFast(), gMuteListp, gSavedSettings, i, LLMuteList::isMuted(), llendl, llinfos, LLREQUEST_PERMISSION_THROTTLE_INTERVAL, LLREQUEST_PERMISSION_THROTTLE_LIMIT, LSCRIPTRunTimePermissionBits, S32, SCRIPT_PERMISSION_EOF, script_question_cb(), SCRIPT_QUESTIONS, LLNotifyBox::showXml(), and TRUE.

Referenced by register_viewer_callbacks().

void process_script_teleport_request ( LLMessageSystem msg,
void **   
)

Definition at line 5217 of file llviewermessage.cpp.

References LLMessageSystem::getString(), LLMessageSystem::getVector3(), gFloaterWorldMap, LLVector3::mV, NULL, LLFloaterWorldMap::show(), LLFloaterWorldMap::trackURL(), TRUE, VX, VY, and VZ.

Referenced by register_viewer_callbacks().

void process_set_follow_cam_properties ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 3797 of file llviewermessage.cpp.

References _PREHASH_ObjectData, _PREHASH_ObjectID, f, 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(), type, VX, VY, and VZ.

Referenced by register_viewer_callbacks().

void process_sim_stats ( LLMessageSystem msg,
void **  user_data 
)

Definition at line 3480 of file llviewermessage.cpp.

References LLStat::addValue(), LLAgent::canFly(), count, f, gAgent, LLViewerRegion::getBlockFly(), LLMessageSystem::getF32(), LLAgent::getFlying(), LLMessageSystem::getNumberOfBlocks(), LLAgent::getRegion(), LLMessageSystem::getU32(), gViewerStats, i, 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_SCRIPTMS, LL_SIM_STAT_SIMOTHERMS, LL_SIM_STAT_SIMPHYSICSMS, LL_SIM_STAT_TIME_DILATION, LL_SIM_STAT_TOTAL_UNACKED_BYTES, llendl, llwarns, 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::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 3312 of file llviewermessage.cpp.

References _PREHASH_Gain, _PREHASH_Handle, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_ParentID, _PREHASH_Position, _PREHASH_SoundData, _PREHASH_SoundID, LLViewerParcelMgr::canHearSound(), LLMute::flagObjectSounds, from_region_handle(), gain(), gAudiop, LLControlGroup::getF32(), LLMessageSystem::getF32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), gMuteListp, gParcelMgr, 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 4702 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 2586 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(), LLMessageSystem::getIPAddrFast(), LLMessageSystem::getIPPortFast(), LLMessageSystem::getOurCircuitCode(), LLAgent::getPositionGlobal(), LLAgent::getSessionID(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), gHUDManager, gMessageSystem, gWorldp, LLAgent::isGodlike(), LLHUDObject::LL_HUD_EFFECT_POINT, llendl, llinfos, llwarns, 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 4726 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(), llendl, llwarns, 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 2442 of file llviewermessage.cpp.

References end, FALSE, gAgent, LLAgent::getID(), LLMessageSystem::getString(), LLAgent::getTeleportState(), LLMessageSystem::getU32(), LLMessageSystem::getUUID(), gViewerWindow, lldebugs, llendl, llwarns, 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 2414 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 3201 of file llviewermessage.cpp.

References LLMessageSystem::getReceiveCompressedSize(), LLMessageSystem::getReceiveSize(), 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 3282 of file llviewermessage.cpp.

References _PREHASH_SecPerDay, _PREHASH_SecPerYear, _PREHASH_SunAngVelocity, _PREHASH_SunDirection, _PREHASH_SunPhase, _PREHASH_TimeInfo, _PREHASH_UsecSinceStart, LLControlGroup::getBOOL(), LLMessageSystem::getF32Fast(), LLSky::getOverrideSun(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getVector3Fast(), gNoRender, gSavedSettings, gSecondsPerDay, gSecondsPerYear, gSky, gWorldp, 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 4956 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(), llendl, llwarns, MAX_STRING, LLFloaterPreference::updateUserInfo(), and LLFloaterPostcard::updateUserInfo().

Referenced by register_viewer_callbacks().

void script_question_cb ( S32  option,
void user_data 
)

Definition at line 4442 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(), LLAgent::getSessionID(), gMessageSystem, gMuteListp, gSavedSettings, LLScriptQuestionCBData::mItemID, LLScriptQuestionCBData::mObjectName, LLScriptQuestionCBData::mQuestions, LLScriptQuestionCBData::mSender, LLScriptQuestionCBData::mTaskID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), notify_cautioned_script_question(), LLMute::OBJECT, S32, LLMessageSystem::sendReliable(), and TRUE.

Referenced by process_script_question().

void script_question_decline_cb ( S32  option,
void user_data 
)

Definition at line 4410 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().

void send_agent_update ( BOOL  force_send,
BOOL  send_reliable 
)

Definition at line 2932 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, gCamera, gDebugClicks, gDisconnected, LLCoordFrame::getAtAxis(), LLAgent::getCameraPositionAgent(), LLAgent::getControlFlags(), LLAgent::getFrameAgent(), LLAgent::getHeadRotation(), LLAgent::getID(), LLCoordFrame::getLeftAxis(), LLCoordFrame::getQuaternion(), LLAgent::getRenderState(), LLAgent::getSessionID(), LLAgent::getTeleportState(), LLCoordFrame::getUpAxis(), gKeyboard, gLogoutRequestSent, gMessageSystem, LLAgent::isGroupTitleHidden(), llendl, llinfos, LLVector3::magVec(), MASK_ALT, MASK_CONTROL, LLAgent::mDrawDistance, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), ROTATION_THRESHOLD, LLAgent::sendMessage(), LLAgent::sendReliableMessage(), LLAgent::TELEPORT_NONE, and TRUE.

Referenced by LLPanelDisplay::applyResolution(), idle(), process_agent_movement_complete(), and process_teleport_local().

void send_complete_agent_movement ( const LLHost sim_host  ) 

Definition at line 237 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 4789 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 4900 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 4931 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 4771 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(), and LLFloaterAvatarList::requestMiscInfo().

void send_sound_trigger ( const LLUUID sound_id,
F32  gain 
)

Definition at line 551 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 700 of file llviewermessage.cpp.

References LLInventoryModel::addObserver(), gInventory, and gNewInventoryObserver.

Referenced by LLInventoryModel::messageUpdateCore().


Variable Documentation

const F32 BIRD_AUDIBLE_RADIUS = 32.0f

Definition at line 151 of file llviewermessage.cpp.

S32 current_image_count = 0

Definition at line 341 of file llviewermessage.cpp.

Referenced by exported_item_complete(), and exported_j2c_complete().

S32 current_object_count = 0

Definition at line 340 of file llviewermessage.cpp.

Referenced by exported_item_complete(), and exported_j2c_complete().

S32 exported_image_count = 0

Definition at line 339 of file llviewermessage.cpp.

Referenced by exported_item_complete(), and exported_j2c_complete().

S32 exported_object_count = 0

Definition at line 338 of file llviewermessage.cpp.

Referenced by exported_item_complete(), and exported_j2c_complete().

BOOL gDebugClicks

Definition at line 59 of file llwindow.cpp.

LLUploadDialog* gExportDialog

Definition at line 4745 of file llviewermenu.cpp.

Referenced by exported_item_complete(), exported_j2c_complete(), and handle_export_selected().

LLString gExportDirectory

Definition at line 4743 of file llviewermenu.cpp.

Referenced by export_complete(), and handle_export_selected().

LLString gExportedFile

Definition at line 349 of file llviewermessage.cpp.

Referenced by export_complete().

LLNotifyBox* gExporterNotify

LLUUID gExporterRequestID

Definition at line 4742 of file llviewermenu.cpp.

Referenced by enable_export_selected(), export_complete(), and handle_export_selected().

std::map<LLUUID, LLString> gImageChecksums

Definition at line 351 of file llviewermessage.cpp.

Referenced by export_complete(), and exported_j2c_complete().

time_t gLastDisplayedTime = 0

Definition at line 4188 of file llviewermessage.cpp.

std::vector<LoadUrlInfo*> gLoadUrlList

Definition at line 5093 of file llviewermessage.cpp.

LLLinkedList<LLMeanCollisionData> gMeanCollisionList

---------------------------------------------------------------------------- Local function declarations, constants, enums, and typedefs ----------------------------------------------------------------------------

Definition at line 4187 of file llviewermessage.cpp.

Referenced by mean_name_callback(), process_mean_collision_alert_message(), and LLFloaterBump::show().

LLOpenTaskOffer* gNewInventoryObserver = NULL

Definition at line 698 of file llviewermessage.cpp.

Referenced by start_new_inventory_observer().

U32 gObjectBits

Definition at line 3411 of file viewer.cpp.

LLFrameTimer gThrottleTimer

Definition at line 170 of file llviewermessage.cpp.

Referenced by check_offer_throttle().

const F32 LLREQUEST_PERMISSION_THROTTLE_INTERVAL = 10.0f [static]

Definition at line 158 of file llviewermessage.cpp.

Referenced by process_script_question().

const U32 LLREQUEST_PERMISSION_THROTTLE_LIMIT = 5 [static]

Definition at line 157 of file llviewermessage.cpp.

Referenced by process_script_question().

const F32 LOGOUT_REPLY_TIME = 3.f [static]

Definition at line 153 of file llviewermessage.cpp.

const F32 MAX_HEAD_ROT_QDOT = 0.99999f

Definition at line 2928 of file llviewermessage.cpp.

const U32 OFFER_THROTTLE_MAX_COUNT = 5

Definition at line 171 of file llviewermessage.cpp.

Referenced by check_offer_throttle().

const F32 OFFER_THROTTLE_TIME = 10.f

Definition at line 172 of file llviewermessage.cpp.

Referenced by check_offer_throttle().

const S32 SCRIPT_DIALOG_BUTTON_STR_SIZE = 24

Definition at line 4985 of file llviewermessage.cpp.

const char* SCRIPT_DIALOG_HEADER = "Script Dialog:\n"

Definition at line 4987 of file llviewermessage.cpp.

const S32 SCRIPT_DIALOG_MAX_BUTTONS = 12

Definition at line 4984 of file llviewermessage.cpp.

const S32 SCRIPT_DIALOG_MAX_MESSAGE_SIZE = 512

Definition at line 4986 of file llviewermessage.cpp.

const LLString SCRIPT_QUESTIONS[SCRIPT_PERMISSION_EOF]

Initial value:

 
        { 
                "ScriptTakeMoney",
                "ActOnControlInputs",
                "RemapControlInputs",
                "AnimateYourAvatar",
                "AttachToYourAvatar",
                "ReleaseOwnership",
                "LinkAndDelink",
                "AddAndRemoveJoints",
                "ChangePermissions",
                "TrackYourCamera",
                "ControlYourCamera"
        }

Definition at line 175 of file llviewermessage.cpp.

Referenced by notify_cautioned_script_question(), and process_script_question().

const F32 SIT_DISTANCE_FROM_TARGET = 0.25f

Definition at line 152 of file llviewermessage.cpp.

const F32 THRESHOLD_HEAD_ROT_QDOT = 0.9997f

Definition at line 2927 of file llviewermessage.cpp.


Generated on Thu Jul 1 06:10:47 2010 for Second Life Viewer by  doxygen 1.4.7