llviewermessage.h File Reference

Message system callbacks for viewer. More...

#include "llinstantmessage.h"
#include "lltransactiontypes.h"
#include "lluuid.h"
#include "stdenums.h"

Include dependency graph for llviewermessage.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LLOfferInfo

Typedefs

typedef std::list
< LLMeanCollisionData * > 
mean_collision_list_t

Enumerations

enum  InventoryOfferResponse { IOR_ACCEPT, IOR_DECLINE, IOR_MUTE, IOR_BUSY }

Functions

BOOL can_afford_transaction (S32 cost)
void give_money (const LLUUID &uuid, LLViewerRegion *region, S32 amount, BOOL is_group=FALSE, S32 trx_type=TRANS_GIFT, const LLString &desc=LLString::null)
void busy_message (LLMessageSystem *msg, LLUUID from_id)
void process_logout_reply (LLMessageSystem *msg, void **)
void process_layer_data (LLMessageSystem *mesgsys, 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 process_improved_im (LLMessageSystem *msg, void **user_data)
void process_script_question (LLMessageSystem *msg, void **user_data)
void process_chat_from_simulator (LLMessageSystem *mesgsys, void **user_data)
void send_agent_update (BOOL force_send, BOOL send_reliable=FALSE)
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 send_simulator_throttle_settings (const LLHost &host)
void process_kill_object (LLMessageSystem *mesgsys, void **user_data)
void process_time_synch (LLMessageSystem *mesgsys, void **user_data)
void process_sound_trigger (LLMessageSystem *mesgsys, void **user_data)
void process_preload_sound (LLMessageSystem *mesgsys, void **user_data)
void process_attached_sound (LLMessageSystem *mesgsys, void **user_data)
void process_attached_sound_gain_change (LLMessageSystem *mesgsys, void **user_data)
void process_energy_statistics (LLMessageSystem *mesgsys, void **user_data)
void process_health_message (LLMessageSystem *mesgsys, void **user_data)
void process_sim_stats (LLMessageSystem *mesgsys, void **user_data)
void process_shooter_agent_hit (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 process_avatar_sit_response (LLMessageSystem *mesgsys, void **user_data)
void process_set_follow_cam_properties (LLMessageSystem *mesgsys, void **user_data)
void process_clear_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_economy_data (LLMessageSystem *msg, void **)
void process_money_balance_reply (LLMessageSystem *msg_system, void **)
void process_adjust_balance (LLMessageSystem *msg_system, void **)
void process_alert_message (LLMessageSystem *msg, void **)
void process_agent_alert_message (LLMessageSystem *msgsystem, void **user_data)
void process_alert_core (const std::string &message, BOOL modal)
void handle_show_mean_events (void *)
void process_mean_collision_alert_message (LLMessageSystem *msg, void **)
void process_frozen_message (LLMessageSystem *msg, void **)
void process_derez_container (LLMessageSystem *msg, void **)
void container_inventory_arrived (LLViewerObject *object, std::list< LLPointer< LLInventoryObject > > *inventory, S32 serial_num, void *data)
void send_complete_agent_movement (const LLHost &sim_host)
void process_agent_movement_complete (LLMessageSystem *msg, void **)
void process_crossed_region (LLMessageSystem *msg, void **)
void process_teleport_start (LLMessageSystem *msg, void **)
void process_teleport_progress (LLMessageSystem *msg, void **)
void process_teleport_failed (LLMessageSystem *msg, void **)
void process_teleport_finish (LLMessageSystem *msg, void **)
void process_teleport_local (LLMessageSystem *msg, void **)
void process_user_sim_location_reply (LLMessageSystem *msg, void **)
void send_simple_im (const LLUUID &to_id, const char *message, EInstantMessage dialog=IM_NOTHING_SPECIAL, const LLUUID &id=LLUUID::null)
void send_group_notice (const LLUUID &group_id, const char *subject, const char *message, const LLInventoryItem *item)
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=IM_ONLINE, EInstantMessage dialog=IM_NOTHING_SPECIAL, const LLUUID &id=LLUUID::null, U32 timestamp=NO_TIMESTAMP, const U8 *binary_bucket=(U8 *) EMPTY_BINARY_BUCKET, S32 binary_bucket_size=EMPTY_BINARY_BUCKET_SIZE)
void process_user_info_reply (LLMessageSystem *msg, void **)
char * formatted_time (const time_t &the_time, char *buffer)
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_script_dialog (LLMessageSystem *msg, void **)
void process_load_url (LLMessageSystem *msg, void **)
void process_script_teleport_request (LLMessageSystem *msg, void **)
void process_covenant_reply (LLMessageSystem *msg, void **)
void onCovenantLoadComplete (LLVFS *vfs, const LLUUID &asset_uuid, LLAssetType::EType type, void *user_data, S32 status, LLExtStat ext_status)
void callbackCacheEstateOwnerName (const LLUUID &id, const char *first, const char *last, BOOL is_group, void *)
void process_offer_callingcard (LLMessageSystem *msg, void **)
void process_accept_callingcard (LLMessageSystem *msg, void **)
void process_decline_callingcard (LLMessageSystem *msg, void **)
void invalid_message_callback (LLMessageSystem *, void *, EMessageException)
void process_initiate_download (LLMessageSystem *msg, void **)
void inventory_offer_callback (S32 option, void *user_data)
void start_new_inventory_observer ()
void process_feature_disabled_message (LLMessageSystem *msg, void **)

Variables

mean_collision_list_t gMeanCollisionList
const S32 TIME_STR_LENGTH = 30


Detailed Description

Message system callbacks for viewer.

LicenseInfo
firstyear=2002&license=viewergpl

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.h.


Typedef Documentation

Definition at line 114 of file llviewermessage.h.


Enumeration Type Documentation

Enumerator:
IOR_ACCEPT 
IOR_DECLINE 
IOR_MUTE 
IOR_BUSY 

Definition at line 54 of file llviewermessage.h.


Function Documentation

void busy_message ( LLMessageSystem *  msg,
LLUUID  from_id 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL can_afford_transaction ( S32  cost  ) 

Definition at line 904 of file llstatusbar.cpp.

References LLStatusBar::getBalance().

Referenced by give_money(), LLPanelGroupGeneral::onClickJoin(), and upload_done_callback().

Here is the call graph for this function:

Here is the caller graph for this function:

void container_inventory_arrived ( LLViewerObject *  object,
std::list< LLPointer< LLInventoryObject > > *  inventory,
S32  serial_num,
void *  data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void give_money ( const LLUUID &  uuid,
LLViewerRegion *  region,
S32  amount,
BOOL  is_group = FALSE,
S32  trx_type = TRANS_GIFT,
const LLString &  desc = LLString::null 
)

void handle_lure ( LLDynamicArray< LLUUID > &  ids  ) 

void handle_lure ( const LLUUID &  invitee  ) 

Definition at line 4837 of file llviewermessage.cpp.

References handle_lure().

Here is the call graph for this function:

void handle_show_mean_events ( void *   ) 

Definition at line 4138 of file llviewermessage.cpp.

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

Here is the call graph for this function:

void invalid_message_callback ( LLMessageSystem *  ,
void *  ,
EMessageException   
)

Definition at line 5380 of file llviewermessage.cpp.

References LLAppViewer::badNetworkHandler(), and LLAppViewer::instance().

Referenced by idle_startup().

Here is the call graph for this function:

Here is the caller graph for this function:

void inventory_offer_callback ( S32  option,
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().

Here is the call graph for this function:

Here is the caller graph for this function:

void onCovenantLoadComplete ( LLVFS *  vfs,
const LLUUID &  asset_uuid,
LLAssetType::EType  type,
void *  user_data,
S32  status,
LLExtStat  ext_status 
)

void process_accept_callingcard ( LLMessageSystem *  msg,
void **   
)

Definition at line 2127 of file llviewermessage.cpp.

References LLNotifyBox::showXml().

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_adjust_balance ( LLMessageSystem *  msg_system,
void **   
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

void process_alert_core ( const std::string &  message,
BOOL  modal 
)

void process_alert_message ( LLMessageSystem *  msg,
void **   
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_attached_sound ( LLMessageSystem *  mesgsys,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_avatar_animation ( LLMessageSystem *  mesgsys,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_avatar_sit_response ( LLMessageSystem *  mesgsys,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_chat_from_simulator ( LLMessageSystem *  mesgsys,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_compressed_object_update ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_covenant_reply ( LLMessageSystem *  msg,
void **   
)

void process_crossed_region ( LLMessageSystem *  msg,
void **   
)

void process_decline_callingcard ( LLMessageSystem *  msg,
void **   
)

Definition at line 2132 of file llviewermessage.cpp.

References LLNotifyBox::showXml().

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_energy_statistics ( LLMessageSystem *  mesgsys,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_frozen_message ( LLMessageSystem *  msg,
void **   
)

Definition at line 4233 of file llviewermessage.cpp.

References LLMessageSystem::getBOOL(), LLViewerWindow::getWindow(), gViewerWindow, and LLWindow::resetBusyCount().

Referenced by register_viewer_callbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_kill_object ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_layer_data ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_load_url ( LLMessageSystem *  msg,
void **   
)

void process_logout_reply ( LLMessageSystem *  msg,
void **   
)

void process_mean_collision_alert_message ( LLMessageSystem *  msg,
void **   
)

void process_money_balance_reply ( LLMessageSystem *  msg_system,
void **   
)

void process_name_value ( LLMessageSystem *  mesgsys,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_offer_callingcard ( LLMessageSystem *  msg,
void **   
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_preload_sound ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_remove_name_value ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_script_dialog ( LLMessageSystem *  msg,
void **   
)

void process_script_question ( LLMessageSystem *  msg,
void **  user_data 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_set_follow_cam_properties ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_shooter_agent_hit ( LLMessageSystem *  msg,
void **  user_data 
)

void process_sim_stats ( LLMessageSystem *  mesgsys,
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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_sound_trigger ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_teleport_failed ( LLMessageSystem *  msg,
void **   
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_teleport_local ( LLMessageSystem *  msg,
void **   
)

void process_teleport_progress ( LLMessageSystem *  msg,
void **   
)

void process_teleport_start ( LLMessageSystem *  msg,
void **   
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_time_synch ( LLMessageSystem *  mesgsys,
void **  user_data 
)

void process_user_info_reply ( LLMessageSystem *  msg,
void **   
)

void process_user_sim_location_reply ( LLMessageSystem *  msg,
void **   
)

void send_agent_update ( BOOL  force_send,
BOOL  send_reliable = FALSE 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void send_complete_agent_movement ( const LLHost &  sim_host  ) 

void send_group_notice ( const LLUUID &  group_id,
const char *  subject,
const char *  message,
const LLInventoryItem *  item 
)

void send_improved_im ( const LLUUID &  to_id,
const char *  name,
const char *  message,
U8  offline = IM_ONLINE,
EInstantMessage  dialog = IM_NOTHING_SPECIAL,
const LLUUID &  id = LLUUID::null,
U32  timestamp = NO_TIMESTAMP,
const U8 *  binary_bucket = (U8 *) EMPTY_BINARY_BUCKET,
S32  binary_bucket_size = EMPTY_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 send_simple_im ( const LLUUID &  to_id,
const char *  message,
EInstantMessage  dialog = IM_NOTHING_SPECIAL,
const LLUUID &  id = LLUUID::null 
)

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().

Here is the call graph for this function:

Here is the caller graph for this function:

void send_simulator_throttle_settings ( const LLHost &  host  ) 

void send_sound_trigger ( const LLUUID &  sound_id,
F32  gain 
)

void start_new_inventory_observer (  ) 

Definition at line 689 of file llviewermessage.cpp.

References LLInventoryModel::addObserver(), and gInventory.

Referenced by LLInventoryModel::messageUpdateCore().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

const S32 TIME_STR_LENGTH = 30


Generated on Fri May 16 08:37:55 2008 for SecondLife by  doxygen 1.5.5