#include <llviewerparcelmgr.h>
Definition at line 77 of file llviewerparcelmgr.h.
LLViewerParcelMgr::LLViewerParcelMgr | ( | ) |
Definition at line 113 of file llviewerparcelmgr.cpp.
References LLViewerImageList::getImageFromFile(), gImageList, i, mAgentParcel, mAgentParcelOverlay, mBlockedImage, mCollisionParcel, mCollisionSegments, mCurrentParcel, mCurrentParcelSelection, mFloatingParcelSelection, mHighlightSegments, mHoverParcel, mParcelsPerEdge, mPassImage, PARCEL_GRID_STEP_METERS, PARCEL_OVERLAY_CHUNKS, REGION_WIDTH_METERS, resetSegments(), S32, and sPackedOverlay.
LLViewerParcelMgr::~LLViewerParcelMgr | ( | ) |
Definition at line 156 of file llviewerparcelmgr.cpp.
References mAgentParcel, mAgentParcelOverlay, mCollisionParcel, mCollisionSegments, mCurrentParcel, mCurrentParcelSelection, mFloatingParcelSelection, mHighlightSegments, mHoverParcel, NULL, and sPackedOverlay.
void LLViewerParcelMgr::cleanupGlobals | ( | ) | [static] |
Definition at line 2328 of file llviewerparcelmgr.cpp.
References NULL, and LLParcelSelection::sNullSelection.
Referenced by LLAppViewer::cleanup().
BOOL LLViewerParcelMgr::selectionEmpty | ( | ) | const |
Definition at line 622 of file llviewerparcelmgr.cpp.
References mSelected.
Referenced by enable_land_selected(), and getSelection().
F32 LLViewerParcelMgr::getSelectionWidth | ( | ) | const [inline] |
Definition at line 87 of file llviewerparcelmgr.h.
References LLVector3d::mdV, mEastNorth, mWestSouth, and VX.
Referenced by selectLand().
F32 LLViewerParcelMgr::getSelectionHeight | ( | ) | const [inline] |
Definition at line 88 of file llviewerparcelmgr.h.
References LLVector3d::mdV, mEastNorth, mWestSouth, and VY.
Referenced by selectLand().
BOOL LLViewerParcelMgr::getSelection | ( | LLVector3d & | min, | |
LLVector3d & | max | |||
) | [inline] |
Definition at line 89 of file llviewerparcelmgr.h.
References mEastNorth, mWestSouth, and selectionEmpty().
Referenced by handle_claim_public_land(), and LLToolBrushLand::modifyLandInSelectionGlobal().
LLViewerRegion * LLViewerParcelMgr::getSelectionRegion | ( | ) |
Definition at line 214 of file llviewerparcelmgr.cpp.
References LLSingleton< LLWorld >::getInstance(), LLWorld::getRegionFromPosGlobal(), and mWestSouth.
Referenced by buyPass(), LLPanelLandOptions::draw(), LLFloaterAuction::initialize(), LLPanelLandOptions::onClickPublishHelp(), LLPanelLandObjects::onClickRefresh(), LLPanelLandOptions::onCommitAny(), reclaimParcel(), LLPanelLandInfo::refresh(), LLPanelLandCovenant::refresh(), LLPanelLandObjects::refresh(), LLPanelLandGeneral::refresh(), send_other_clean_time_message(), send_parcel_select_objects(), send_return_objects_message(), startBuyLand(), startSellLand(), LLFloaterBuyLandUI::updateCovenantInfo(), and LLFloaterBuyLandUI::updateParcelInfo().
F32 LLViewerParcelMgr::getDwelling | ( | ) | const [inline] |
Definition at line 91 of file llviewerparcelmgr.h.
References mSelectedDwell.
Referenced by LLStatusBar::refresh().
void LLViewerParcelMgr::getDisplayInfo | ( | S32 * | area, | |
S32 * | claim, | |||
S32 * | rent, | |||
BOOL * | for_sale, | |||
F32 * | dwell | |||
) |
Definition at line 220 of file llviewerparcelmgr.cpp.
References FALSE, LLParcel::getClaimPricePerMeter(), LLParcel::getForSale(), LLParcel::getSalePrice(), getSelectedArea(), LLParcel::getTotalRent(), mCurrentParcel, mCurrentParcelSelection, mSelected, mSelectedDwell, S32, and TRUE.
Referenced by LLPanelLandInfo::refresh(), and LLPanelLandGeneral::refresh().
S32 LLViewerParcelMgr::getSelectedArea | ( | ) | const |
Definition at line 265 of file llviewerparcelmgr.cpp.
References LLParcel::getArea(), llround(), mCurrentParcel, mCurrentParcelSelection, LLVector3d::mdV, mEastNorth, mSelected, mWestSouth, S32, VX, and VY.
Referenced by getDisplayInfo(), and LLPanelLandInfo::refresh().
void LLViewerParcelMgr::resetSegments | ( | U8 * | segments | ) |
Definition at line 282 of file llviewerparcelmgr.cpp.
References i, mParcelsPerEdge, and S32.
Referenced by LLViewerParcelMgr(), processParcelProperties(), selectCollisionParcel(), and selectLand().
Definition at line 293 of file llviewerparcelmgr.cpp.
References llround(), mHighlightSegments, mParcelsPerEdge, PARCEL_GRID_STEP_METERS, S32, SOUTH_MASK, and WEST_MASK.
Referenced by processParcelProperties().
Definition at line 337 of file llviewerparcelmgr.cpp.
References mParcelsPerEdge, S32, SOUTH_MASK, and WEST_MASK.
Referenced by processParcelProperties().
void LLViewerParcelMgr::writeAgentParcelFromBitmap | ( | U8 * | bitmap | ) |
Definition at line 373 of file llviewerparcelmgr.cpp.
References mAgentParcelOverlay, mParcelsPerEdge, and S32.
Referenced by processParcelProperties().
void LLViewerParcelMgr::selectCollisionParcel | ( | ) |
Definition at line 431 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentID, _PREHASH_LocalID, _PREHASH_ParcelData, _PREHASH_ParcelPropertiesRequestByID, _PREHASH_SequenceID, _PREHASH_SessionID, LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLParcel::getDesc(), LLAgent::getID(), LLParcel::getLocalID(), LLParcel::getName(), LLViewerRegion::getOriginGlobal(), LLParcel::getPassHours(), LLParcel::getPassPrice(), LLAgent::getRegion(), LLAgent::getSessionID(), gMessageSystem, mCollisionParcel, mCurrentParcel, mCurrentParcelSelection, mEastNorth, mFloatingParcelSelection, mHighlightSegments, mRequestResult, mSelected, mWestSouth, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), notifyObservers(), NULL, PARCEL_GRID_STEP_METERS, PARCEL_RESULT_NO_DATA, resetSegments(), SELECTED_PARCEL_SEQ_ID, LLAgent::sendReliableMessage(), LLParcel::setDesc(), LLParcel::setName(), LLParcel::setPassHours(), LLParcel::setPassPrice(), and TRUE.
Referenced by LLToolPie::pickAndShowMenu().
LLParcelSelectionHandle LLViewerParcelMgr::selectParcelAt | ( | const LLVector3d & | pos_global | ) |
Definition at line 406 of file llviewerparcelmgr.cpp.
References llround(), LLVector3d::mdV, PARCEL_GRID_STEP_METERS, selectLand(), TRUE, VX, and VY.
Referenced by LLToolSelectLand::handleDoubleClick(), LLLandEdit::handleEvent(), LLShowFloater::handleEvent(), onClickBuyLand(), onClickParcelInfo(), and LLToolPie::pickAndShowMenu().
LLParcelSelectionHandle LLViewerParcelMgr::selectParcelInRectangle | ( | ) |
Definition at line 425 of file llviewerparcelmgr.cpp.
References mEastNorth, mWestSouth, selectLand(), and TRUE.
Referenced by LLPanelLandInfo::onClickAbout().
LLParcelSelectionHandle LLViewerParcelMgr::selectLand | ( | const LLVector3d & | corner1, | |
const LLVector3d & | corner2, | |||
BOOL | snap_to_parcel | |||
) |
Definition at line 472 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_East, _PREHASH_North, _PREHASH_ParcelData, _PREHASH_ParcelPropertiesRequest, _PREHASH_SequenceID, _PREHASH_SessionID, _PREHASH_South, _PREHASH_West, LLMessageSystem::addBOOL(), LLMessageSystem::addF32Fast(), LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), getSelectionHeight(), getSelectionWidth(), LLAgent::getSessionID(), gMessageSystem, mCurrentParcel, mCurrentParcelSelection, LLVector3d::mdV, mEastNorth, mFloatingParcelSelection, mHighlightSegments, mRequestResult, mSelected, LLVector3::mV, mWestSouth, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), notifyObservers(), NULL, PARCEL_RESULT_NO_DATA, resetSegments(), sanitize_corners(), SELECTED_PARCEL_SEQ_ID, LLMessageSystem::sendReliable(), LLNotifyBox::showXml(), TRUE, VX, and VY.
Referenced by LLToolSelectLand::handleMouseUp(), LLPanelRegionTools::onSelectRegion(), selectParcelAt(), and selectParcelInRectangle().
void LLViewerParcelMgr::deselectLand | ( | ) |
Definition at line 563 of file llviewerparcelmgr.cpp.
References FALSE, LLParcel::mAccessList, LLParcel::mBanList, mCurrentParcel, mCurrentParcelSelection, mFloatingParcelSelection, mSelected, mSelectedDwell, notifyObservers(), NULL, and LLParcel::setLocalID().
Referenced by deselectUnused(), handle_go_to(), LLLandSit::handleEvent(), LLLandBuild::handleEvent(), LLObjectEdit::handleEvent(), LLToolSelectLand::handleMouseDown(), LLToolPie::pickAndShowMenu(), sendParcelRelease(), and LLAgent::teleportCore().
void LLViewerParcelMgr::deselectUnused | ( | ) |
Definition at line 554 of file llviewerparcelmgr.cpp.
References deselectLand(), mCurrentParcelSelection, and mFloatingParcelSelection.
Referenced by LLViewerWindow::handlePerFrameHover().
void LLViewerParcelMgr::addObserver | ( | LLParcelObserver * | observer | ) |
Definition at line 588 of file llviewerparcelmgr.cpp.
References mObservers, and LLDynamicArray< Type, BlockSize >::put().
Referenced by LLFloaterLand::LLFloaterLand(), LLMenuParcelObserver::LLMenuParcelObserver(), LLPanelLandInfo::LLPanelLandInfo(), LLFloaterSellLandUI::soleInstance(), and LLFloaterBuyLandUI::soleInstance().
void LLViewerParcelMgr::removeObserver | ( | LLParcelObserver * | observer | ) |
Definition at line 594 of file llviewerparcelmgr.cpp.
References mObservers, and LLDynamicArray< Type, BlockSize >::removeObj().
Referenced by LLFloaterLand::onClose(), LLMenuParcelObserver::~LLMenuParcelObserver(), and LLPanelLandInfo::~LLPanelLandInfo().
void LLViewerParcelMgr::notifyObservers | ( | ) |
Definition at line 603 of file llviewerparcelmgr.cpp.
References LLParcelObserver::changed(), LLDynamicArray< Type, BlockSize >::count(), LLDynamicArray< Type, BlockSize >::get(), i, mObservers, LLDynamicArray< Type, BlockSize >::put(), and S32.
Referenced by deselectLand(), processParcelAccessListReply(), processParcelDwellReply(), processParcelProperties(), selectCollisionParcel(), selectLand(), and set_god_level().
void LLViewerParcelMgr::setSelectionVisible | ( | BOOL | visible | ) | [inline] |
Definition at line 131 of file llviewerparcelmgr.h.
References mRenderSelection.
Referenced by LLToolBrushLand::handleDeselect(), LLToolBrushLand::handleMouseDown(), and LLToolBrushLand::handleMouseUp().
BOOL LLViewerParcelMgr::isOwnedAt | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 674 of file llviewerparcelmgr.cpp.
References FALSE, LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getParcelOverlay(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), and LLViewerParcelOverlay::isOwned().
BOOL LLViewerParcelMgr::isOwnedSelfAt | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 687 of file llviewerparcelmgr.cpp.
References FALSE, LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getParcelOverlay(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), and LLViewerParcelOverlay::isOwnedSelf().
BOOL LLViewerParcelMgr::isOwnedOtherAt | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 700 of file llviewerparcelmgr.cpp.
References FALSE, LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getParcelOverlay(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), and LLViewerParcelOverlay::isOwnedOther().
BOOL LLViewerParcelMgr::isSoundLocal | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 713 of file llviewerparcelmgr.cpp.
References FALSE, LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getParcelOverlay(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), and LLViewerParcelOverlay::isSoundLocal().
Referenced by canHearSound().
BOOL LLViewerParcelMgr::canHearSound | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 726 of file llviewerparcelmgr.cpp.
References FALSE, getAgentParcel(), LLSingleton< LLViewerParcelMgr >::getInstance(), inAgentParcel(), isSoundLocal(), and TRUE.
LLParcelSelectionHandle LLViewerParcelMgr::getParcelSelection | ( | ) | const |
Definition at line 628 of file llviewerparcelmgr.cpp.
References mCurrentParcelSelection.
Referenced by buyPass(), deedAlertCB(), LLPanelLandGeneral::enableBuyPass(), LLFloaterAuction::initialize(), LLToolBrushLand::modifyLandInSelectionGlobal(), LLPanelLandGeneral::onClickBuyPass(), reclaimParcel(), and LLPanelLandInfo::refresh().
LLParcelSelectionHandle LLViewerParcelMgr::getFloatingParcelSelection | ( | ) | const |
Definition at line 633 of file llviewerparcelmgr.cpp.
References mFloatingParcelSelection.
Referenced by LLPanelLandOptions::draw(), LLPanelLandOptions::onClickPublishHelp(), LLFloaterTools::onOpen(), and LLFloaterLand::onOpen().
LLParcel * LLViewerParcelMgr::getAgentParcel | ( | ) | const |
Definition at line 638 of file llviewerparcelmgr.cpp.
References mAgentParcel.
Referenced by LLAgent::canFly(), canHearSound(), create_new_landmark(), cursor_from_parcel_media(), LLFloaterMediaBrowser::draw(), enable_land_build(), enable_object_build(), LLMediaRemoteCtrl::enableMediaButtons(), handle_click_action_open_media(), handle_click_action_play(), handleAudioStreamMusicChanged(), LLAttachmentEnableDrop::handleEvent(), LLWorldCreateLandmark::handleEvent(), LLAppViewer::handleViewerCrash(), LLPanelClassified::initNewClassified(), LLPanelPick::initNewPick(), LLFloaterLandmark::onBtnNew(), LLFloaterMediaBrowser::onClickAssign(), LLPanelLandOptions::onClickSet(), LLViewerParcelMedia::processParcelMediaCommandMessage(), LLViewerParcelMedia::processParcelMediaUpdate(), LLStatusBar::refresh(), LLVoiceClient::stateMachine(), LLViewerParcelMediaAutoPlay::tick(), LLOverlayBar::toggleMediaPlay(), and LLOverlayBar::toggleMusicPlay().
BOOL LLViewerParcelMgr::inAgentParcel | ( | const LLVector3d & | pos_global | ) | const |
Definition at line 756 of file llviewerparcelmgr.cpp.
References FALSE, gAgent, LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getPosRegionFromGlobal(), LLAgent::getRegion(), LLWorld::getRegionFromPosGlobal(), mAgentParcelOverlay, mParcelsPerEdge, LLVector3::mV, PARCEL_GRID_STEP_METERS, S32, TRUE, VX, and VY.
Referenced by canHearSound().
LLParcel * LLViewerParcelMgr::getHoverParcel | ( | ) | const |
Definition at line 780 of file llviewerparcelmgr.cpp.
References mHoverParcel, mHoverRequestResult, NULL, and PARCEL_RESULT_SUCCESS.
Referenced by LLHoverView::updateText().
LLParcel * LLViewerParcelMgr::getCollisionParcel | ( | ) | const |
Definition at line 793 of file llviewerparcelmgr.cpp.
References mCollisionParcel, mRenderCollision, and NULL.
Referenced by LLToolPie::pickAndShowMenu().
BOOL LLViewerParcelMgr::agentCanTakeDamage | ( | ) | const |
Definition at line 659 of file llviewerparcelmgr.cpp.
References LLParcel::getAllowDamage(), and mAgentParcel.
BOOL LLViewerParcelMgr::agentCanFly | ( | ) | const |
F32 LLViewerParcelMgr::agentDrawDistance | ( | ) | const |
Definition at line 669 of file llviewerparcelmgr.cpp.
BOOL LLViewerParcelMgr::agentCanBuild | ( | ) | const |
Definition at line 644 of file llviewerparcelmgr.cpp.
References LLParcel::allowModifyBy(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLAgent::isGodlike(), and mAgentParcel.
F32 LLViewerParcelMgr::getHoverParcelWidth | ( | ) | const [inline] |
Definition at line 167 of file llviewerparcelmgr.h.
References LLVector3d::mdV, mHoverEastNorth, mHoverWestSouth, and VX.
F32 LLViewerParcelMgr::getHoverParcelHeight | ( | ) | const [inline] |
Definition at line 170 of file llviewerparcelmgr.h.
References LLVector3d::mdV, mHoverEastNorth, mHoverWestSouth, and VY.
void LLViewerParcelMgr::render | ( | ) |
Definition at line 809 of file llviewerparcelmgr.cpp.
References LLSingleton< LLWorld >::getInstance(), LLWorld::getRegionFromPosGlobal(), mHighlightSegments, mRenderSelection, mSelected, mWestSouth, and renderHighlightSegments().
Referenced by render_hud_elements().
void LLViewerParcelMgr::renderParcelCollision | ( | ) |
Definition at line 823 of file llviewerparcelmgr.cpp.
References FALSE, gAgent, LLFrameTimer::getElapsedTimeF32(), LLParcel::getParcelFlag(), LLAgent::getRegion(), mCollisionParcel, mCollisionSegments, mCollisionTimer, mRenderCollision, PARCEL_COLLISION_DRAW_SECS, PF_USE_PASS_LIST, and renderCollisionSegments().
Referenced by render_hud_elements(), and LLViewerWindow::renderSelections().
void LLViewerParcelMgr::renderRect | ( | const LLVector3d & | west_south_bottom, | |
const LLVector3d & | east_north_top | |||
) |
Definition at line 500 of file llglsandbox.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4f(), LLGLImmediate::end(), gAgent, LLSingleton< LLWorld >::getInstance(), LLAgent::getPosAgentFromGlobal(), gGL, LLVertexBuffer::LINES, LLVector3::mV, PARCEL_POST_HEIGHT, LLVertexBuffer::QUADS, LLWorld::resolveLandHeightAgent(), LLUI::setLineWidth(), LLGLImmediate::vertex3f(), VX, and VY.
Referenced by LLToolSelectLand::render().
void LLViewerParcelMgr::renderOneSegment | ( | F32 | x1, | |
F32 | y1, | |||
F32 | x2, | |||
F32 | y2, | |||
F32 | height, | |||
U8 | direction, | |||
LLViewerRegion * | regionp | |||
) |
Definition at line 668 of file llglsandbox.cpp.
References EAST_MASK, LLViewerRegion::getLand(), LLViewerRegion::getOriginAgent(), gGL, llmax(), LLVector3::mV, REGION_WIDTH_METERS, LLSurface::resolveHeightRegion(), SOUTH_MASK, LLGLImmediate::texCoord2f(), LLGLImmediate::vertex3f(), VX, VY, and WEST_MASK.
Referenced by renderCollisionSegments(), and renderHighlightSegments().
void LLViewerParcelMgr::renderHighlightSegments | ( | const U8 * | segments, | |
LLViewerRegion * | regionp | |||
) |
Definition at line 754 of file llglsandbox.cpp.
References LLGLImmediate::begin(), LLGLImmediate::color4f(), LLGLImmediate::end(), gGL, mParcelsPerEdge, PARCEL_GRID_STEP_METERS, PARCEL_POST_HEIGHT, LLVertexBuffer::QUADS, renderOneSegment(), S32, SOUTH_MASK, and WEST_MASK.
Referenced by render().
void LLViewerParcelMgr::renderCollisionSegments | ( | U8 * | segments, | |
BOOL | use_pass, | |||
LLViewerRegion * | regionp | |||
) |
Definition at line 819 of file llglsandbox.cpp.
References BA_BANNED, BA_NOT_ON_LIST, BAN_HEIGHT, LLGLImmediate::begin(), LLViewerImage::bindTexture(), LLGLImmediate::color4f(), LLGLImmediate::color4ubv(), EAST_MASK, LLGLImmediate::end(), gAgent, LLAgent::getPositionAgent(), gGL, GL_NAME_PARCEL_WALL, gRenderForSelect, llclamp(), mBlockedImage, mCollisionBanned, mParcelsPerEdge, mPassImage, LLColor4U::mV, LLVector3::mV, NORTH_MASK, PARCEL_GRID_STEP_METERS, PARCEL_HEIGHT, LLVertexBuffer::QUADS, renderOneSegment(), S32, SOUTH_MASK, VX, VY, and WEST_MASK.
Referenced by renderParcelCollision().
void LLViewerParcelMgr::sendParcelGodForceOwner | ( | const LLUUID & | owner_id | ) |
Definition at line 899 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), callback_god_force_owner(), LLParcel::getAuctionID(), LLViewerRegion::getHost(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLViewerRegion::getOriginGlobal(), LLWorld::getRegionFromPosGlobal(), gViewerWindow, llendl, llinfos, mCurrentParcel, LLVector3d::mdV, mEastNorth, mSelected, mWestSouth, VX, and VY.
Referenced by handle_force_parcel_owner_to_me().
void LLViewerParcelMgr::sendParcelGodForceToContent | ( | ) |
Definition at line 963 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), LLViewerWindow::alertXml(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, gViewerWindow, mCurrentParcel, mSelected, mWestSouth, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLMessageSystem::sendReliable().
Referenced by handle_force_parcel_to_content().
void LLViewerParcelMgr::sendParcelPropertiesUpdate | ( | LLParcel * | parcel, | |
bool | use_agent_region = false | |||
) |
Definition at line 1231 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_LocalID, _PREHASH_ParcelData, _PREHASH_ParcelPropertiesUpdate, _PREHASH_SessionID, LLMessageSystem::addS32Fast(), LLMessageSystem::addU32(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getCapability(), LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLAgent::getRegion(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, ll_sd_from_U32(), llendl, llinfos, mWestSouth, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLParcel::packMessage(), LLHTTPClient::post(), and LLMessageSystem::sendReliable().
Referenced by LLPanelLandObjects::callbackReturnGroupObjects(), LLPanelLandObjects::callbackReturnOtherObjects(), LLPanelLandObjects::callbackReturnOwnerList(), LLPanelLandObjects::callbackReturnOwnerObjects(), LLFloaterMediaBrowser::onClickAssign(), LLPanelLandOptions::onClickClear(), LLPanelLandOptions::onClickSet(), LLPanelLandGeneral::onClickStopSellLand(), LLPanelLandMedia::onCommitAny(), LLPanelLandAccess::onCommitAny(), LLPanelLandOptions::onCommitAny(), LLPanelLandGeneral::onCommitAny(), LLFloaterSellLandUI::onConfirmSale(), and LLPanelLandGeneral::setGroup().
void LLViewerParcelMgr::sendParcelAccessListUpdate | ( | U32 | which | ) |
Definition at line 1770 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_Flags, _PREHASH_ID, _PREHASH_List, _PREHASH_LocalID, _PREHASH_ParcelAccessListUpdate, _PREHASH_Sections, _PREHASH_SequenceID, _PREHASH_SessionID, _PREHASH_Time, _PREHASH_TransactionID, LLMessageSystem::addS32(), LLMessageSystem::addS32Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), AL_ACCESS, AL_BAN, FALSE, gAgent, LLUUID::generate(), LLMessageSystem::getCurrentSendTotal(), LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, LLParcel::mAccessList, LLParcel::mBanList, mCurrentParcel, LLAccessEntry::mFlags, LLAccessEntry::mID, mSelected, LLAccessEntry::mTime, MTUBYTES, mWestSouth, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLUUID::null, PARCEL_MAX_ENTRIES_PER_PACKET, S32, LLMessageSystem::sendReliable(), and TRUE.
Referenced by LLPanelLandAccess::callbackAvatarCBAccess(), LLPanelLandAccess::callbackAvatarCBBanned(), LLPanelLandAccess::onClickRemoveAccess(), and LLPanelLandAccess::onClickRemoveBanned().
void LLViewerParcelMgr::sendParcelAccessListRequest | ( | U32 | flags | ) |
Definition at line 840 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Data, _PREHASH_Flags, _PREHASH_ParcelAccessListRequest, _PREHASH_SequenceID, _PREHASH_SessionID, LLMessageSystem::addS32(), LLMessageSystem::addS32Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), AL_ACCESS, AL_BAN, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, LLParcel::mAccessList, LLParcel::mBanList, mCurrentParcel, mSelected, mWestSouth, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by processParcelProperties().
void LLViewerParcelMgr::sendParcelDwellRequest | ( | ) |
Definition at line 875 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, mCurrentParcel, mSelected, mWestSouth, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLUUID::null, and LLMessageSystem::sendReliable().
Referenced by processParcelProperties().
void LLViewerParcelMgr::requestHoverParcelProperties | ( | const LLVector3d & | pos_global | ) |
Definition at line 1271 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_East, _PREHASH_North, _PREHASH_ParcelData, _PREHASH_ParcelPropertiesRequest, _PREHASH_SequenceID, _PREHASH_SessionID, _PREHASH_South, _PREHASH_West, LLMessageSystem::addBOOL(), LLMessageSystem::addF32Fast(), LLMessageSystem::addS32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, HOVERED_PARCEL_SEQ_ID, mHoverRequestResult, LLVector3::mV, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), PARCEL_GRID_STEP_METERS, PARCEL_RESULT_NO_DATA, LLMessageSystem::sendReliable(), VX, and VY.
Referenced by LLHoverView::pickCallback().
bool LLViewerParcelMgr::canAgentBuyParcel | ( | LLParcel * | parcel, | |
bool | forGroup | |||
) | const |
Definition at line 1999 of file llviewerparcelmgr.cpp.
References gAgent, LLParcel::getAuthorizedBuyerID(), LLParcel::getForSale(), LLAgent::getGroupID(), LLAgent::getID(), LLParcel::getOwnerID(), LLParcel::getSalePrice(), GP_LAND_DEED, LLAgent::hasPowerInActiveGroup(), LLUUID::isNull(), LLParcel::isPublic(), mCurrentParcel, mRequestResult, mSelected, LLUUID::notNull(), PARCEL_RESULT_NO_DATA, and TRUE.
Referenced by enable_buy_land(), LLWorldEnableBuyLand::handleEvent(), and LLStatusBar::refresh().
void LLViewerParcelMgr::startBuyLand | ( | BOOL | is_for_group = FALSE |
) |
Definition at line 2038 of file llviewerparcelmgr.cpp.
References LLFloaterBuyLand::buyLand(), getSelectionRegion(), mCurrentParcelSelection, and TRUE.
Referenced by LLShowFloater::handleEvent(), onClickBuyLand(), LLPanelLandGeneral::onClickBuyLand(), and LLPanelLandInfo::onClickClaim().
void LLViewerParcelMgr::startSellLand | ( | ) |
Definition at line 2043 of file llviewerparcelmgr.cpp.
References getSelectionRegion(), mCurrentParcelSelection, and LLFloaterSellLand::sellLand().
Referenced by LLPanelLandGeneral::onClickSellLand().
void LLViewerParcelMgr::startReleaseLand | ( | ) |
Definition at line 1941 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), LLAgent::canManageEstate(), gAgent, LLParcel::getArea(), LLSingleton< LLWorld >::getInstance(), LLWorld::getRegionFromPosGlobal(), GP_LAND_RELEASE, gViewerWindow, isParcelOwnedByAgent(), llformat(), mCurrentParcel, mCurrentParcelSelection, mEastNorth, mRequestResult, mSelected, mWestSouth, PARCEL_RESULT_MULTIPLE, PARCEL_RESULT_NO_DATA, and releaseAlertCB().
Referenced by LLPanelLandInfo::onClickRelease(), and LLPanelLandGeneral::onClickRelease().
void LLViewerParcelMgr::startDivideLand | ( | ) |
Definition at line 2048 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), callbackDivideLand(), gViewerWindow, mCurrentParcelSelection, and mSelected.
Referenced by LLPanelLandInfo::onClickDivide().
void LLViewerParcelMgr::startJoinLand | ( | ) |
Definition at line 2100 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), callbackJoinLand(), gViewerWindow, mCurrentParcelSelection, and mSelected.
Referenced by LLPanelLandInfo::onClickJoin().
void LLViewerParcelMgr::startDeedLandToGroup | ( | ) |
Definition at line 2158 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), deedLandToGroup(), LLSingleton< LLWorld >::getInstance(), LLWorld::getRegionFromPosGlobal(), gViewerWindow, mCurrentParcel, mEastNorth, mRequestResult, mSelected, mWestSouth, PARCEL_RESULT_MULTIPLE, and PARCEL_RESULT_NO_DATA.
Referenced by LLPanelLandGeneral::onClickDeed().
void LLViewerParcelMgr::reclaimParcel | ( | ) |
Definition at line 2202 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getLocalID(), LLViewerRegion::getOwner(), LLParcel::getOwnerID(), getParcelSelection(), getSelectionRegion(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLUUID::notNull(), and LLMessageSystem::sendReliable().
Referenced by LLPanelLandGeneral::onClickReclaim().
void LLViewerParcelMgr::buyPass | ( | ) |
Definition at line 2231 of file llviewerparcelmgr.cpp.
References _PREHASH_LocalID, _PREHASH_ParcelBuyPass, _PREHASH_ParcelData, LLMessageSystem::addS32Fast(), LLMessageSystem::addUUID(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLParcel::getLocalID(), getParcelSelection(), getSelectionRegion(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlock(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by LLPanelLandGeneral::cbBuyPass().
LLViewerParcelMgr::ParcelBuyInfo * LLViewerParcelMgr::setupParcelBuy | ( | const LLUUID & | agent_id, | |
const LLUUID & | session_id, | |||
const LLUUID & | group_id, | |||
BOOL | is_group_owned, | |||
BOOL | is_claim, | |||
BOOL | remove_contribution | |||
) |
Definition at line 1043 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), LLParcel::getArea(), LLViewerRegion::getHost(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLViewerRegion::getOriginGlobal(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), LLParcel::getSalePrice(), gViewerWindow, llendl, llinfos, LLViewerParcelMgr::ParcelBuyInfo::mAgent, LLViewerParcelMgr::ParcelBuyInfo::mArea, mCurrentParcel, LLVector3d::mdV, LLViewerParcelMgr::ParcelBuyInfo::mEast, mEastNorth, LLViewerParcelMgr::ParcelBuyInfo::mGroup, LLViewerParcelMgr::ParcelBuyInfo::mHost, LLViewerParcelMgr::ParcelBuyInfo::mIsClaim, LLViewerParcelMgr::ParcelBuyInfo::mIsGroupOwned, LLViewerParcelMgr::ParcelBuyInfo::mNorth, LLViewerParcelMgr::ParcelBuyInfo::mParcelID, LLViewerParcelMgr::ParcelBuyInfo::mPrice, LLViewerParcelMgr::ParcelBuyInfo::mRemoveContribution, mSelected, LLViewerParcelMgr::ParcelBuyInfo::mSession, LLViewerParcelMgr::ParcelBuyInfo::mSouth, LLVector3::mV, LLViewerParcelMgr::ParcelBuyInfo::mWest, mWestSouth, NULL, VX, and VY.
Referenced by LLFloaterBuyLandUI::runWebSitePrep().
void LLViewerParcelMgr::sendParcelBuy | ( | ParcelBuyInfo * | info | ) |
Definition at line 1115 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addBOOL(), LLMessageSystem::addF32(), LLMessageSystem::addS32(), LLMessageSystem::addUUID(), gMessageSystem, LLViewerParcelMgr::ParcelBuyInfo::mAgent, LLViewerParcelMgr::ParcelBuyInfo::mArea, LLViewerParcelMgr::ParcelBuyInfo::mEast, LLViewerParcelMgr::ParcelBuyInfo::mGroup, LLViewerParcelMgr::ParcelBuyInfo::mHost, LLViewerParcelMgr::ParcelBuyInfo::mIsClaim, LLViewerParcelMgr::ParcelBuyInfo::mIsGroupOwned, LLViewerParcelMgr::ParcelBuyInfo::mNorth, LLViewerParcelMgr::ParcelBuyInfo::mParcelID, LLViewerParcelMgr::ParcelBuyInfo::mPrice, LLViewerParcelMgr::ParcelBuyInfo::mRemoveContribution, LLViewerParcelMgr::ParcelBuyInfo::mSession, LLViewerParcelMgr::ParcelBuyInfo::mSouth, LLViewerParcelMgr::ParcelBuyInfo::mWest, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::sendReliable(), and TRUE.
Referenced by LLFloaterBuyLandUI::sendBuyLand().
void LLViewerParcelMgr::deleteParcelBuy | ( | ParcelBuyInfo *& | info | ) |
Definition at line 1149 of file llviewerparcelmgr.cpp.
References NULL.
Referenced by LLFloaterBuyLandUI::sendBuyLand(), and LLFloaterBuyLandUI::~LLFloaterBuyLandUI().
void LLViewerParcelMgr::sendParcelDeed | ( | const LLUUID & | group_id | ) |
Definition at line 1155 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), LLViewerWindow::alertXml(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, gViewerWindow, LLUUID::isNull(), mCurrentParcel, mSelected, mWestSouth, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLMessageSystem::sendReliable().
Referenced by deedAlertCB().
void LLViewerParcelMgr::sendParcelRelease | ( | ) |
Definition at line 987 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), LLViewerWindow::alertXml(), deselectLand(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLParcel::getLocalID(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, gViewerWindow, mCurrentParcel, mSelected, mWestSouth, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLMessageSystem::sendReliable().
Referenced by releaseAlertCB().
const LLString & LLViewerParcelMgr::getAgentParcelName | ( | ) | const |
Definition at line 1225 of file llviewerparcelmgr.cpp.
References LLParcel::getName(), and mAgentParcel.
void LLViewerParcelMgr::processParcelOverlay | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) | [static] |
Definition at line 1310 of file llviewerparcelmgr.cpp.
References _PREHASH_Data, _PREHASH_ParcelData, _PREHASH_SequenceID, LLMessageSystem::getBinaryDataFast(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLWorld::getRegion(), LLMessageSystem::getS32Fast(), LLMessageSystem::getSender(), LLMessageSystem::getSizeFast(), gNoRender, llendl, llwarns, LLViewerRegion::mParcelOverlay, mParcelsPerEdge, PARCEL_OVERLAY_CHUNKS, S32, sPackedOverlay, and LLViewerParcelOverlay::uncompressLandOverlay().
Referenced by register_viewer_callbacks().
void LLViewerParcelMgr::processParcelProperties | ( | LLMessageSystem * | msg, | |
void ** | user_data | |||
) | [static] |
Definition at line 1352 of file llviewerparcelmgr.cpp.
References _PREHASH_AABBMax, _PREHASH_AABBMin, _PREHASH_AgeVerificationBlock, _PREHASH_Area, _PREHASH_AuctionID, _PREHASH_Bitmap, _PREHASH_ClaimDate, _PREHASH_ClaimPrice, _PREHASH_GroupPrims, _PREHASH_IsGroupOwned, _PREHASH_LocalID, _PREHASH_MaxPrims, _PREHASH_OtherCount, _PREHASH_OtherPrims, _PREHASH_OwnerID, _PREHASH_OwnerPrims, _PREHASH_ParcelData, _PREHASH_ParcelPrimBonus, _PREHASH_PublicCount, _PREHASH_RegionDenyAgeUnverified, _PREHASH_RegionDenyAnonymous, _PREHASH_RegionDenyIdentified, _PREHASH_RegionDenyTransacted, _PREHASH_RegionPushOverride, _PREHASH_RentPrice, _PREHASH_RequestResult, _PREHASH_SelectedPrims, _PREHASH_SelfCount, _PREHASH_SequenceID, _PREHASH_TotalPrims, AL_ACCESS, AL_BAN, BA_BANNED, BA_NOT_IN_GROUP, BA_NOT_ON_LIST, LLVector3d::clearVec(), COLLISION_BANNED_PARCEL_SEQ_ID, COLLISION_NOT_IN_GROUP_PARCEL_SEQ_ID, COLLISION_NOT_ON_LIST_PARCEL_SEQ_ID, FALSE, gAudiop, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getBOOL(), LLMessageSystem::getBOOLFast(), LLMessageSystem::getF32Fast(), LLSingleton< LLWorld >::getInstance(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLAudioEngine::getInternetStreamURL(), LLParcel::getMusicURL(), LLMessageSystem::getNumberOfBlocksFast(), LLViewerRegion::getPosGlobalFromRegion(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegion(), LLMessageSystem::getS32(), LLMessageSystem::getS32Fast(), LLMessageSystem::getSender(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU8(), LLMessageSystem::getUUIDFast(), LLMessageSystem::getVector3Fast(), HOVERED_PARCEL_SEQ_ID, LLParcel::init(), llendl, llinfos, mAgentParcel, mAgentParcelSequenceID, mCollisionBanned, mCollisionParcel, mCollisionSegments, mCollisionTimer, mCurrentParcel, mCurrentParcelSelection, mEastNorth, mHighlightSegments, mHoverEastNorth, mHoverParcel, mHoverRequestResult, mHoverWestSouth, mParcelsPerEdge, mRenderCollision, mRequestResult, mSelected, mSelectedDwell, LLVector3::mV, mWestSouth, notifyObservers(), NULL, optionally_start_music(), PARCEL_RESULT_MULTIPLE, PARCEL_RESULT_NO_DATA, PARCEL_RESULT_SUCCESS, LLFrameTimer::reset(), resetSegments(), S32, SELECTED_PARCEL_SEQ_ID, sendParcelAccessListRequest(), sendParcelDwellRequest(), LLParcel::setAABBMax(), LLParcel::setAABBMin(), LLParcel::setAuctionID(), LLParcel::setCleanOtherTime(), LLParcel::setGroupPrimCount(), LLParcel::setLocalID(), LLParcel::setMaxPrimCapacity(), LLParcel::setOtherPrimCount(), LLParcel::setOwnerPrimCount(), LLParcel::setOwnershipStatus(), LLParcel::setParcelPrimBonus(), LLParcel::setRegionDenyAgeUnverifiedOverride(), LLParcel::setRegionDenyAnonymousOverride(), LLParcel::setRegionPushOverride(), LLParcel::setSelectedPrimCount(), LLParcel::setSimWideMaxPrimCapacity(), LLParcel::setSimWidePrimCount(), LLAudioEngine::startInternetStream(), indra::ipc::saranwrap::status(), LLAudioEngine::stopInternetStream(), LLStringBase< char >::trim(), TRUE, LLParcel::unpackMessage(), LLViewerParcelMedia::update(), VX, VY, writeAgentParcelFromBitmap(), writeHighlightSegments(), and writeSegmentsFromBitmap().
Referenced by register_viewer_callbacks().
void LLViewerParcelMgr::processParcelAccessListReply | ( | LLMessageSystem * | msg, | |
void ** | user | |||
) | [static] |
Definition at line 1708 of file llviewerparcelmgr.cpp.
References _PREHASH_AgentID, _PREHASH_Data, _PREHASH_Flags, _PREHASH_LocalID, _PREHASH_SequenceID, AL_ACCESS, AL_BAN, LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getLocalID(), LLMessageSystem::getS32Fast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getUUIDFast(), llendl, llwarns, LLParcel::mAccessList, LLParcel::mBanList, mCurrentParcel, notifyObservers(), S32, and LLParcel::unpackAccessEntries().
Referenced by register_viewer_callbacks().
void LLViewerParcelMgr::processParcelDwellReply | ( | LLMessageSystem * | msg, | |
void ** | user | |||
) | [static] |
Definition at line 1748 of file llviewerparcelmgr.cpp.
References LLMessageSystem::getF32(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getLocalID(), LLMessageSystem::getS32(), LLMessageSystem::getUUID(), mCurrentParcel, mSelectedDwell, notifyObservers(), and S32.
Referenced by register_viewer_callbacks().
void LLViewerParcelMgr::dump | ( | ) |
Definition at line 192 of file llviewerparcelmgr.cpp.
References LLParcel::dump(), llendl, llinfos, mAgentParcel, LLParcel::mBanList, mCurrentParcel, mEastNorth, mHoverParcel, mSelected, mWestSouth, and S32.
BOOL LLViewerParcelMgr::isCollisionBanned | ( | ) |
Definition at line 2250 of file llviewerparcelmgr.cpp.
References BA_ALLOWED, BA_NOT_IN_GROUP, BA_NOT_ON_LIST, FALSE, mCollisionBanned, and TRUE.
Referenced by LLPanelLandGeneral::enableBuyPass(), LLToolPie::pickAndShowMenu(), and LLPanelLandGeneral::refresh().
BOOL LLViewerParcelMgr::isParcelOwnedByAgent | ( | const LLParcel * | parcelp, | |
U64 | group_proxy_power | |||
) | [static] |
Definition at line 2260 of file llviewerparcelmgr.cpp.
References FALSE, gAgent, LLAgent::getID(), LLParcel::getOwnerID(), LLAgent::hasPowerInGroup(), LLAgent::isGodlike(), LLParcel::isPublic(), and TRUE.
Referenced by LLAgent::canFly(), create_new_landmark(), LLWorldCreateLandmark::handleEvent(), isParcelModifiableByAgent(), LLFloaterLandmark::onBtnNew(), LLPanelLandInfo::refresh(), LLPanelLandGeneral::refresh(), and startReleaseLand().
BOOL LLViewerParcelMgr::isParcelModifiableByAgent | ( | const LLParcel * | parcelp, | |
U64 | group_proxy_power | |||
) | [static] |
Definition at line 2292 of file llviewerparcelmgr.cpp.
References FALSE, gAgent, LLAgent::getID(), LLParcel::getOwnerID(), LLParcel::getOwnershipStatus(), LLAgent::isGodlike(), isParcelOwnedByAgent(), and LLParcel::OS_LEASED.
Referenced by LLPanelLandOptions::draw(), LLFloaterMediaBrowser::draw(), LLPanelLandOptions::onClickPublishHelp(), LLPanelLandMedia::refresh(), LLPanelLandOptions::refresh(), LLPanelLandObjects::refresh(), LLPanelLandGeneral::refresh(), and LLPanelLandAccess::refresh_ui().
void LLViewerParcelMgr::releaseAlertCB | ( | S32 | option, | |
void * | data | |||
) | [static, private] |
Definition at line 2222 of file llviewerparcelmgr.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and sendParcelRelease().
Referenced by startReleaseLand().
void LLViewerParcelMgr::deedLandToGroup | ( | ) | [private] |
Definition at line 1904 of file llviewerparcelmgr.cpp.
References LLViewerWindow::alertXml(), deedAlertCB(), gCacheName, LLParcel::getArea(), LLParcel::getContributeWithDeed(), LLParcel::getGroupID(), LLCacheName::getGroupName(), LLCacheName::getName(), LLParcel::getOwnerID(), gViewerWindow, llformat(), mCurrentParcel, and NULL.
Referenced by startDeedLandToGroup().
static void LLViewerParcelMgr::claimAlertCB | ( | S32 | option, | |
void * | data | |||
) | [static, private] |
static void LLViewerParcelMgr::buyAlertCB | ( | S32 | option, | |
void * | data | |||
) | [static, private] |
void LLViewerParcelMgr::deedAlertCB | ( | S32 | option, | |
void * | ||||
) | [static, private] |
Definition at line 1926 of file llviewerparcelmgr.cpp.
References LLParcel::getGroupID(), LLSingleton< LLViewerParcelMgr >::getInstance(), getParcelSelection(), and sendParcelDeed().
Referenced by deedLandToGroup().
void LLViewerParcelMgr::callbackDivideLand | ( | S32 | option, | |
void * | data | |||
) | [static, private] |
Definition at line 2068 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addF32(), LLMessageSystem::addUUID(), LLViewerWindow::alertXml(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, gViewerWindow, LLVector3::mV, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::sendReliable(), VX, and VY.
Referenced by startDivideLand().
void LLViewerParcelMgr::callbackJoinLand | ( | S32 | option, | |
void * | data | |||
) | [static, private] |
Definition at line 2126 of file llviewerparcelmgr.cpp.
References LLMessageSystem::addF32(), LLMessageSystem::addUUID(), LLViewerWindow::alertXml(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLSingleton< LLWorld >::getInstance(), LLViewerRegion::getPosRegionFromGlobal(), LLWorld::getRegionFromPosGlobal(), LLAgent::getSessionID(), gMessageSystem, gViewerWindow, LLVector3::mV, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), LLMessageSystem::sendReliable(), VX, and VY.
Referenced by startJoinLand().
LLViewerImage * LLViewerParcelMgr::getBlockedImage | ( | ) | const [private] |
Definition at line 2333 of file llviewerparcelmgr.cpp.
LLViewerImage * LLViewerParcelMgr::getPassImage | ( | ) | const [private] |
Definition at line 2338 of file llviewerparcelmgr.cpp.
BOOL LLViewerParcelMgr::mSelected [private] |
Definition at line 287 of file llviewerparcelmgr.h.
Referenced by canAgentBuyParcel(), deselectLand(), dump(), getDisplayInfo(), getSelectedArea(), processParcelProperties(), render(), selectCollisionParcel(), selectionEmpty(), selectLand(), sendParcelAccessListRequest(), sendParcelAccessListUpdate(), sendParcelDeed(), sendParcelDwellRequest(), sendParcelGodForceOwner(), sendParcelGodForceToContent(), sendParcelRelease(), setupParcelBuy(), startDeedLandToGroup(), startDivideLand(), startJoinLand(), and startReleaseLand().
LLParcel* LLViewerParcelMgr::mCurrentParcel [private] |
Definition at line 289 of file llviewerparcelmgr.h.
Referenced by canAgentBuyParcel(), deedLandToGroup(), deselectLand(), dump(), getDisplayInfo(), getSelectedArea(), LLViewerParcelMgr(), processParcelAccessListReply(), processParcelDwellReply(), processParcelProperties(), selectCollisionParcel(), selectLand(), sendParcelAccessListRequest(), sendParcelAccessListUpdate(), sendParcelDeed(), sendParcelDwellRequest(), sendParcelGodForceOwner(), sendParcelGodForceToContent(), sendParcelRelease(), setupParcelBuy(), startDeedLandToGroup(), startReleaseLand(), and ~LLViewerParcelMgr().
Definition at line 290 of file llviewerparcelmgr.h.
Referenced by deselectLand(), deselectUnused(), getDisplayInfo(), getParcelSelection(), getSelectedArea(), LLViewerParcelMgr(), processParcelProperties(), selectCollisionParcel(), selectLand(), startBuyLand(), startDivideLand(), startJoinLand(), startReleaseLand(), startSellLand(), and ~LLViewerParcelMgr().
Definition at line 291 of file llviewerparcelmgr.h.
Referenced by deselectLand(), deselectUnused(), getFloatingParcelSelection(), LLViewerParcelMgr(), selectCollisionParcel(), selectLand(), and ~LLViewerParcelMgr().
S32 LLViewerParcelMgr::mRequestResult [private] |
Definition at line 292 of file llviewerparcelmgr.h.
Referenced by canAgentBuyParcel(), processParcelProperties(), selectCollisionParcel(), selectLand(), startDeedLandToGroup(), and startReleaseLand().
LLVector3d LLViewerParcelMgr::mWestSouth [private] |
Definition at line 293 of file llviewerparcelmgr.h.
Referenced by dump(), getSelectedArea(), getSelection(), getSelectionHeight(), getSelectionRegion(), getSelectionWidth(), processParcelProperties(), render(), selectCollisionParcel(), selectLand(), selectParcelInRectangle(), sendParcelAccessListRequest(), sendParcelAccessListUpdate(), sendParcelDeed(), sendParcelDwellRequest(), sendParcelGodForceOwner(), sendParcelGodForceToContent(), sendParcelPropertiesUpdate(), sendParcelRelease(), setupParcelBuy(), startDeedLandToGroup(), and startReleaseLand().
LLVector3d LLViewerParcelMgr::mEastNorth [private] |
Definition at line 294 of file llviewerparcelmgr.h.
Referenced by dump(), getSelectedArea(), getSelection(), getSelectionHeight(), getSelectionWidth(), processParcelProperties(), selectCollisionParcel(), selectLand(), selectParcelInRectangle(), sendParcelGodForceOwner(), setupParcelBuy(), startDeedLandToGroup(), and startReleaseLand().
F32 LLViewerParcelMgr::mSelectedDwell [private] |
Definition at line 295 of file llviewerparcelmgr.h.
Referenced by deselectLand(), getDisplayInfo(), getDwelling(), processParcelDwellReply(), and processParcelProperties().
LLParcel* LLViewerParcelMgr::mAgentParcel [private] |
Definition at line 297 of file llviewerparcelmgr.h.
Referenced by agentCanBuild(), agentCanTakeDamage(), dump(), getAgentParcel(), getAgentParcelName(), LLViewerParcelMgr(), processParcelProperties(), and ~LLViewerParcelMgr().
S32 LLViewerParcelMgr::mAgentParcelSequenceID [private] |
LLParcel* LLViewerParcelMgr::mHoverParcel [private] |
Definition at line 300 of file llviewerparcelmgr.h.
Referenced by dump(), getHoverParcel(), LLViewerParcelMgr(), processParcelProperties(), and ~LLViewerParcelMgr().
S32 LLViewerParcelMgr::mHoverRequestResult [private] |
Definition at line 301 of file llviewerparcelmgr.h.
Referenced by getHoverParcel(), processParcelProperties(), and requestHoverParcelProperties().
LLVector3d LLViewerParcelMgr::mHoverWestSouth [private] |
Definition at line 302 of file llviewerparcelmgr.h.
Referenced by getHoverParcelHeight(), getHoverParcelWidth(), and processParcelProperties().
LLVector3d LLViewerParcelMgr::mHoverEastNorth [private] |
Definition at line 303 of file llviewerparcelmgr.h.
Referenced by getHoverParcelHeight(), getHoverParcelWidth(), and processParcelProperties().
Definition at line 305 of file llviewerparcelmgr.h.
Referenced by addObserver(), notifyObservers(), and removeObserver().
S32 LLViewerParcelMgr::mParcelsPerEdge [private] |
Definition at line 312 of file llviewerparcelmgr.h.
Referenced by inAgentParcel(), LLViewerParcelMgr(), processParcelOverlay(), processParcelProperties(), renderCollisionSegments(), renderHighlightSegments(), resetSegments(), writeAgentParcelFromBitmap(), writeHighlightSegments(), and writeSegmentsFromBitmap().
U8* LLViewerParcelMgr::mHighlightSegments [private] |
Definition at line 313 of file llviewerparcelmgr.h.
Referenced by LLViewerParcelMgr(), processParcelProperties(), render(), selectCollisionParcel(), selectLand(), writeHighlightSegments(), and ~LLViewerParcelMgr().
U8* LLViewerParcelMgr::mAgentParcelOverlay [private] |
Definition at line 314 of file llviewerparcelmgr.h.
Referenced by inAgentParcel(), LLViewerParcelMgr(), writeAgentParcelFromBitmap(), and ~LLViewerParcelMgr().
U8 * LLViewerParcelMgr::sPackedOverlay = NULL [static, private] |
Definition at line 318 of file llviewerparcelmgr.h.
Referenced by LLViewerParcelMgr(), processParcelOverlay(), and ~LLViewerParcelMgr().
LLParcel* LLViewerParcelMgr::mCollisionParcel [private] |
Definition at line 322 of file llviewerparcelmgr.h.
Referenced by getCollisionParcel(), LLViewerParcelMgr(), processParcelProperties(), renderParcelCollision(), selectCollisionParcel(), and ~LLViewerParcelMgr().
U8* LLViewerParcelMgr::mCollisionSegments [private] |
Definition at line 323 of file llviewerparcelmgr.h.
Referenced by LLViewerParcelMgr(), processParcelProperties(), renderParcelCollision(), and ~LLViewerParcelMgr().
BOOL LLViewerParcelMgr::mRenderCollision [private] |
Definition at line 324 of file llviewerparcelmgr.h.
Referenced by getCollisionParcel(), processParcelProperties(), and renderParcelCollision().
BOOL LLViewerParcelMgr::mRenderSelection [private] |
Definition at line 325 of file llviewerparcelmgr.h.
Referenced by render(), and setSelectionVisible().
S32 LLViewerParcelMgr::mCollisionBanned [private] |
Definition at line 326 of file llviewerparcelmgr.h.
Referenced by isCollisionBanned(), processParcelProperties(), and renderCollisionSegments().
Definition at line 327 of file llviewerparcelmgr.h.
Referenced by processParcelProperties(), and renderParcelCollision().
LLImageGL* LLViewerParcelMgr::mBlockedImage [private] |
Definition at line 328 of file llviewerparcelmgr.h.
Referenced by LLViewerParcelMgr(), and renderCollisionSegments().
LLImageGL* LLViewerParcelMgr::mPassImage [private] |
Definition at line 329 of file llviewerparcelmgr.h.
Referenced by LLViewerParcelMgr(), and renderCollisionSegments().
S32 LLViewerParcelMgr::mMediaParcelId [private] |
Definition at line 332 of file llviewerparcelmgr.h.
U64 LLViewerParcelMgr::mMediaRegionId [private] |
Definition at line 333 of file llviewerparcelmgr.h.