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

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_info_request (LLMessageSystem *mesgsys, 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 char *buffer, 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

const S32 TIME_STR_LENGTH = 30


Detailed Description

Message system callbacks for viewer.

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


Enumeration Type Documentation

enum InventoryOfferResponse

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 
)

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 callbackCacheEstateOwnerName ( const LLUUID id,
const char *  first,
const char *  last,
BOOL  is_group,
void  
)

Definition at line 5292 of file llviewermessage.cpp.

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

Referenced by process_covenant_reply().

BOOL can_afford_transaction ( S32  cost  ) 

Definition at line 785 of file llstatusbar.cpp.

References LLStatusBar::getBalance(), and gStatusBar.

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

void container_inventory_arrived ( LLViewerObject object,
std::list< LLPointer< LLInventoryObject > > *  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().

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 give_money ( const LLUUID uuid,
LLViewerRegion region,
S32  amount,
BOOL  is_group = FALSE,
S32  trx_type = TRANS_GIFT,
const LLString desc = LLString::null 
)

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

References 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 ,
void ,
EMessageException   
)

Definition at line 5411 of file llviewermessage.cpp.

References bad_network_handler().

Referenced by idle_startup().

void inventory_offer_callback ( S32  option,
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(), 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(), 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, 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(), LLFloaterGroupInfo::showNotice(), LLPanelGroup::showNotice(), LLPanelGroupNotices::showNotice(), and LLPanelGroupNotices::~LLPanelGroupNotices().

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, LLFloaterBuyLand::updateCovenantText(), LLPanelLandCovenant::updateCovenantText(), and LLPanelEstateCovenant::updateCovenantText().

Referenced by process_covenant_reply().

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_adjust_balance ( LLMessageSystem msg_system,
void **   
)

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(), LLCacheName::setUpstream(), LLAssetStorage::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, LLNotifyBox::showXml(), LLAlertDialog::showXml(), and LLViewerStats::ST_KILLED_COUNT.

Referenced by process_agent_alert_message(), and process_alert_message().

void process_alert_message ( LLMessageSystem msg,
void **   
)

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 mesgsys,
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_info_request ( LLMessageSystem mesgsys,
void **  user_data 
)

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 mesgsys,
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, LLFloaterBuyLand::updateCovenantText(), LLPanelLandCovenant::updateCovenantText(), LLPanelEstateCovenant::updateCovenantText(), LLFloaterBuyLand::updateEstateName(), LLPanelLandCovenant::updateEstateName(), LLPanelEstateCovenant::updateEstateName(), LLFloaterBuyLand::updateLastModified(), LLPanelLandCovenant::updateLastModified(), and LLPanelEstateCovenant::updateLastModified().

Referenced by register_viewer_callbacks().

void process_crossed_region ( LLMessageSystem msg,
void **   
)

Definition at line 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_energy_statistics ( LLMessageSystem mesgsys,
void **  user_data 
)

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 msg,
void **   
)

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, LLFriendshipOffer::mFromID, LLOfferInfo::mFromID, LLChat::mFromID, LLChat::mFromIM, 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::mPosAgent, LLChat::mRegionID, LLChat::mSourceType, LLChat::mText, LLFriendshipOffer::mTransactionID, LLOfferInfo::mTransactionID, LLJoinGroupData::mTransactionID, MTUBYTES, LLOfferInfo::mType, LLUUID::null, 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 msg,
void **   
)

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_system,
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, LLPanelGroupLandMoney::processPlacesReply(), and LLFloaterLandHoldings::processPlacesReply().

Referenced by register_viewer_callbacks().

void process_preload_sound ( LLMessageSystem mesgsys,
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_shooter_agent_hit ( LLMessageSystem msg,
void **  user_data 
)

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

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, LLFloaterPostcard::updateUserInfo(), and LLFloaterPreference::updateUserInfo().

Referenced by register_viewer_callbacks().

void process_user_sim_location_reply ( LLMessageSystem msg,
void **   
)

void send_agent_update ( BOOL  force_send,
BOOL  send_reliable = FALSE 
)

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 = 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 
)

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 = IM_NOTHING_SPECIAL,
const LLUUID id = LLUUID::null 
)

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_simulator_throttle_settings ( const LLHost host  ) 

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 S32 TIME_STR_LENGTH = 30

Definition at line 170 of file llviewermessage.h.

Referenced by formatted_time(), LLViewerChatterBoxInvitation::post(), process_covenant_reply(), process_improved_im(), and LLPanelLandGeneral::refresh().


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