#include <llviewerinventory.h>
Inheritance diagram for LLViewerInventoryItem:
Definition at line 46 of file llviewerinventory.h.
LLViewerInventoryItem::~LLViewerInventoryItem | ( | void | ) | [protected] |
Definition at line 119 of file llviewerinventory.cpp.
LLViewerInventoryItem::LLViewerInventoryItem | ( | const LLUUID & | uuid, | |
const LLUUID & | parent_uuid, | |||
const LLPermissions & | perm, | |||
const LLUUID & | asset_uuid, | |||
LLAssetType::EType | type, | |||
LLInventoryType::EType | inv_type, | |||
const LLString & | name, | |||
const LLString & | desc, | |||
const LLSaleInfo & | sale_info, | |||
U32 | flags, | |||
S32 | creation_date_utc | |||
) |
---------------------------------------------------------------------------- Class LLViewerInventoryItem ----------------------------------------------------------------------------
Definition at line 60 of file llviewerinventory.cpp.
LLViewerInventoryItem::LLViewerInventoryItem | ( | const LLUUID & | item_id, | |
const LLUUID & | parent_id, | |||
const char * | name, | |||
LLInventoryType::EType | inv_type | |||
) |
Definition at line 77 of file llviewerinventory.cpp.
References LLInventoryItem::mInventoryType, LLInventoryObject::mName, LLInventoryObject::mParentUUID, and LLInventoryObject::mUUID.
LLViewerInventoryItem::LLViewerInventoryItem | ( | ) |
LLViewerInventoryItem::LLViewerInventoryItem | ( | const LLViewerInventoryItem * | other | ) |
Definition at line 96 of file llviewerinventory.cpp.
References copy(), llendl, llwarns, mIsComplete, and LLInventoryObject::mUUID.
LLViewerInventoryItem::LLViewerInventoryItem | ( | const LLInventoryItem * | other | ) |
Definition at line 107 of file llviewerinventory.cpp.
References LLInventoryItem::copy(), llendl, llwarns, mIsComplete, and LLInventoryObject::mUUID.
void LLViewerInventoryItem::clone | ( | LLPointer< LLViewerInventoryItem > & | newitem | ) | const [virtual] |
Definition at line 139 of file llviewerinventory.cpp.
References LLViewerInventoryItem(), and LLPointer< Type >::notNull().
void LLViewerInventoryItem::copy | ( | const LLInventoryItem * | other | ) | [virtual] |
Reimplemented from LLInventoryItem.
Definition at line 131 of file llviewerinventory.cpp.
References LLInventoryItem::copy(), mIsComplete, mTransactionID, and LLUUID::setNull().
void LLViewerInventoryItem::copy | ( | const LLViewerInventoryItem * | other | ) | [virtual] |
Definition at line 124 of file llviewerinventory.cpp.
References LLInventoryItem::copy(), mIsComplete, and mTransactionID.
Referenced by LLViewerInventoryItem(), and LLInventoryModel::updateItem().
bool LLViewerInventoryItem::exportFileLocal | ( | FILE * | fp | ) | const |
Definition at line 277 of file llviewerinventory.cpp.
References LLPermissions::exportFile(), LLInventoryType::lookup(), LLAssetType::lookup(), LLInventoryItem::mCreationDate, LLInventoryItem::mInventoryType, LLInventoryObject::mName, LLInventoryObject::mParentUUID, LLInventoryItem::mPermissions, LLInventoryObject::mType, LLInventoryObject::mUUID, LLUUID::toString(), and UUID_STR_LENGTH.
Definition at line 200 of file llviewerinventory.cpp.
References LLMessageSystem::addUUID(), gAgent, LLAgent::getID(), LLPermissions::getOwner(), LLAgent::getSessionID(), gMessageSystem, llendl, llwarns, mIsComplete, LLInventoryItem::mPermissions, LLInventoryObject::mUUID, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLAgent::sendReliableMessage().
Referenced by LLItemBridge::selectItem(), LLPreviewGesture::show(), and LLWearable::writeToAvatar().
LLTransactionID LLViewerInventoryItem::getTransactionID | ( | ) | const [inline] |
Definition at line 124 of file llviewerinventory.h.
References mTransactionID.
Referenced by LLViewerObject::saveScript(), and LLViewerObject::updateInventory().
BOOL LLViewerInventoryItem::importFile | ( | FILE * | fp | ) | [virtual] |
Reimplemented from LLInventoryItem.
Definition at line 254 of file llviewerinventory.cpp.
References LLInventoryItem::importFile(), mIsComplete, and TRUE.
bool LLViewerInventoryItem::importFileLocal | ( | FILE * | fp | ) |
Definition at line 269 of file llviewerinventory.cpp.
References LLInventoryItem::importFile(), and mIsComplete.
BOOL LLViewerInventoryItem::importLegacyStream | ( | std::istream & | input_stream | ) | [virtual] |
Reimplemented from LLInventoryItem.
Definition at line 262 of file llviewerinventory.cpp.
References LLInventoryItem::importLegacyStream(), mIsComplete, and TRUE.
BOOL LLViewerInventoryItem::isComplete | ( | ) | const [inline] |
Definition at line 111 of file llviewerinventory.h.
References mIsComplete.
Referenced by LLToolDragAndDrop::dad3dActivateGesture(), LLToolDragAndDrop::dad3dGiveInventory(), LLToolDragAndDrop::dad3dGiveInventoryObject(), LLToolDragAndDrop::dad3dRezAttachmentFromInv(), LLToolDragAndDrop::dad3dRezFromObjectOnLand(), LLToolDragAndDrop::dad3dRezFromObjectOnObject(), LLToolDragAndDrop::dad3dRezObjectOnLand(), LLToolDragAndDrop::dad3dRezObjectOnObject(), LLToolDragAndDrop::dad3dRezScript(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dad3dUpdateInventory(), LLToolDragAndDrop::dad3dWearItem(), LLFolderBridge::dragItemIntoFolder(), LLPanelEditWearable::draw(), LLToolDragAndDrop::dropObject(), LLAttachObject::handleEvent(), inventory_offer_callback(), LLPanelEditWearable::onBtnRandomize(), LLPreview::onCommit(), LLFloaterProperties::onCommitPermissions(), LLWearableBridge::openItem(), LLObjectBridge::performAction(), LLPreviewGesture::refresh(), LLItemBridge::selectItem(), LLPanelEditWearable::setSubpart(), LLPreviewGesture::show(), LLFloaterCustomize::updateInventoryUI(), LLFloaterProperties::updateSaleInfo(), LLFloaterCustomize::updateScrollingPanelUI(), LLToolDragAndDrop::willObjectAcceptInventory(), and LLWearable::writeToAvatar().
void LLViewerInventoryItem::packMessage | ( | LLMessageSystem * | msg | ) | const [virtual] |
Reimplemented from LLInventoryItem.
Definition at line 235 of file llviewerinventory.cpp.
References _PREHASH_CRC, _PREHASH_CreationDate, _PREHASH_Description, _PREHASH_Flags, _PREHASH_FolderID, _PREHASH_InvType, _PREHASH_ItemID, _PREHASH_Name, _PREHASH_TransactionID, _PREHASH_Type, LLMessageSystem::addS32Fast(), LLMessageSystem::addS8Fast(), LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLInventoryItem::getCRC32(), LLInventoryItem::mCreationDate, LLInventoryItem::mDescription, LLInventoryItem::mFlags, LLInventoryItem::mInventoryType, LLInventoryObject::mName, LLInventoryObject::mParentUUID, LLInventoryItem::mPermissions, LLInventoryItem::mSaleInfo, mTransactionID, LLInventoryObject::mType, LLInventoryObject::mUUID, LLSaleInfo::packMessage(), LLPermissions::packMessage(), and type.
Referenced by LLToolDragAndDrop::dropObject(), and updateServer().
Reimplemented from LLInventoryObject.
Definition at line 150 of file llviewerinventory.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_InventoryData, _PREHASH_ItemID, _PREHASH_RemoveInventoryItem, _PREHASH_SessionID, LLInventoryModel::accountForUpdate(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gInventory, gMessageSystem, llendl, llinfos, LLInventoryObject::mParentUUID, LLInventoryObject::mUUID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLAgent::sendReliableMessage().
Definition at line 112 of file llviewerinventory.h.
References mIsComplete.
Referenced by LLPreviewGesture::saveIfNeeded().
void LLViewerInventoryItem::setTransactionID | ( | const LLTransactionID & | transaction_id | ) | [virtual] |
Definition at line 230 of file llviewerinventory.cpp.
References mTransactionID.
Referenced by LLAgent::addWearabletoAgentInventoryDone(), LLPreviewNotecard::onSaveComplete(), and LLPreviewGesture::onSaveComplete().
BOOL LLViewerInventoryItem::unpackMessage | ( | LLMessageSystem * | msg, | |
const char * | block, | |||
S32 | block_num = 0 | |||
) | [virtual] |
Reimplemented from LLInventoryItem.
Definition at line 222 of file llviewerinventory.cpp.
References mIsComplete, TRUE, and LLInventoryItem::unpackMessage().
Reimplemented from LLInventoryObject.
Definition at line 295 of file llviewerinventory.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_FolderID, _PREHASH_InventoryData, _PREHASH_ItemID, _PREHASH_MoveInventoryItem, _PREHASH_SessionID, _PREHASH_Stamp, LLMessageSystem::addBOOLFast(), LLMessageSystem::addString(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLInventoryObject::mParentUUID, LLInventoryObject::mUUID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, and LLAgent::sendReliableMessage().
Reimplemented from LLInventoryObject.
Definition at line 168 of file llviewerinventory.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_CallbackID, _PREHASH_InventoryData, _PREHASH_SessionID, _PREHASH_TransactionID, _PREHASH_UpdateInventoryItem, LLInventoryModel::accountForUpdate(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLPermissions::getOwner(), LLAgent::getSessionID(), gInventory, gMessageSystem, llendl, llerrs, llwarns, mIsComplete, LLInventoryObject::mParentUUID, LLInventoryItem::mPermissions, mTransactionID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), packMessage(), and LLAgent::sendReliableMessage().
Referenced by LLAgent::addWearabletoAgentInventoryDone().
BOOL LLViewerInventoryItem::mIsComplete [protected] |
Definition at line 127 of file llviewerinventory.h.
Referenced by copy(), fetchFromServer(), importFile(), importFileLocal(), importLegacyStream(), isComplete(), LLViewerInventoryItem(), setComplete(), unpackMessage(), and updateServer().
LLTransactionID LLViewerInventoryItem::mTransactionID [protected] |
Definition at line 128 of file llviewerinventory.h.
Referenced by copy(), getTransactionID(), packMessage(), setTransactionID(), and updateServer().