Public Member Functions | |
LLGiveable () | |
virtual | ~LLGiveable () |
virtual bool | operator() (LLInventoryCategory *cat, LLInventoryItem *item) |
S32 | countNoCopy () const |
Protected Attributes | |
S32 | mCountLosing |
Definition at line 309 of file lltooldraganddrop.cpp.
LLGiveable::LLGiveable | ( | ) | [inline] |
Definition at line 312 of file lltooldraganddrop.cpp.
virtual LLGiveable::~LLGiveable | ( | ) | [inline, virtual] |
Definition at line 313 of file lltooldraganddrop.cpp.
S32 LLGiveable::countNoCopy | ( | ) | const [inline] |
Definition at line 316 of file lltooldraganddrop.cpp.
References mCountLosing.
Referenced by LLToolDragAndDrop::giveInventoryCategory().
bool LLGiveable::operator() | ( | LLInventoryCategory * | cat, | |
LLInventoryItem * | item | |||
) | [virtual] |
Implements LLInventoryCollectFunctor.
Definition at line 321 of file lltooldraganddrop.cpp.
References LLPermissions::allowCopyBy(), LLPermissions::allowOperationBy(), LLAssetType::AT_BODYPART, LLAssetType::AT_CALLINGCARD, LLAssetType::AT_CLOTHING, LLAssetType::AT_OBJECT, FALSE, gAgent, LLAgent::getAvatarObject(), LLAgent::getID(), LLInventoryItem::getPermissions(), LLInventoryObject::getType(), LLInventoryObject::getUUID(), LLVOAvatar::isWearingAttachment(), LLAgent::isWearingItem(), mCountLosing, NULL, PERM_TRANSFER, and TRUE.
S32 LLGiveable::mCountLosing [protected] |
Definition at line 318 of file lltooldraganddrop.cpp.
Referenced by countNoCopy(), and operator()().