

| Public Types | |
| CALL_NONE = 0 | |
| CALL_UPDATE = 1 | |
| CALL_RECOVERDONE = 2 | |
| CALL_CREATESTANDARDDONE = 4 | |
| CALL_MAKENEWOUTFITDONE = 8 | |
| enum | { CALL_NONE = 0, CALL_UPDATE = 1, CALL_RECOVERDONE = 2, CALL_CREATESTANDARDDONE = 4, CALL_MAKENEWOUTFITDONE = 8 } | 
| Public Member Functions | |
| addWearableToAgentInventoryCallback (LLPointer< LLRefCount > cb, S32 index, LLWearable *wearable, U32 todo=CALL_NONE) | |
| Construct a callback for dealing with the wearables. | |
| virtual void | fire (const LLUUID &inv_item) | 
| Public Attributes | |
| enum LLAgent::addWearableToAgentInventoryCallback:: { ... } | EType | 
| Private Attributes | |
| S32 | mIndex | 
| LLWearable * | mWearable | 
| U32 | mTodo | 
| LLPointer< LLRefCount > | mCB | 
Definition at line 882 of file llagent.h.
| anonymous enum | 
| LLAgent::addWearableToAgentInventoryCallback::addWearableToAgentInventoryCallback | ( | LLPointer< LLRefCount > | cb, | |
| S32 | index, | |||
| LLWearable * | wearable, | |||
| U32 | todo = CALL_NONE | |||
| ) | 
Construct a callback for dealing with the wearables.
Would like to pass the agent in here, but we can't safely count on it being around later. Just use gAgent directly.
| cb | callback to execute on completion (??? unused ???) | |
| index | Index for the wearable in the agent | |
| wearable | The wearable data. | |
| todo | Bitmask of actions to take on completion. | 
Definition at line 5974 of file llagent.cpp.
Implements LLInventoryCallback.
Definition at line 5983 of file llagent.cpp.
References LLAgent::addWearabletoAgentInventoryDone(), CALL_CREATESTANDARDDONE, CALL_MAKENEWOUTFITDONE, CALL_RECOVERDONE, CALL_UPDATE, LLAgent::createStandardWearablesDone(), gAgent, LLUUID::isNull(), LLAgent::makeNewOutfitDone(), mIndex, mTodo, mWearable, LLAgent::recoverMissingWearableDone(), and LLAgent::sendAgentWearablesUpdate().
| enum { ... } LLAgent::addWearableToAgentInventoryCallback::EType | 
 1.4.7
 1.4.7