diff options
| author | Salad Dais <SaladDais@users.noreply.github.com> | 2024-05-30 16:29:58 +0000 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-05-31 22:29:32 +0300 |
| commit | 854bed5c171c75c97df7e58286f2350879e5c0be (patch) | |
| tree | 7e411bff104d8cc83729616e8f71416cacf3f7bb /indra/newview/llviewerobject.h | |
| parent | 94794138f1fd5c7468c3f96f2d30bf34a810c4f4 (diff) | |
Add support for RequestTaskInventory capability
The viewer now prefers to load inventory via the capability rather than
over the deprecated Xfer system, though both are still supported.
Diffstat (limited to 'indra/newview/llviewerobject.h')
| -rw-r--r-- | indra/newview/llviewerobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerobject.h b/indra/newview/llviewerobject.h index fa2bbd0a15..783538fb13 100644 --- a/indra/newview/llviewerobject.h +++ b/indra/newview/llviewerobject.h @@ -662,6 +662,7 @@ private: // forms task inventory request after some time passed, marks request as pending void fetchInventoryDelayed(const F64 &time_seconds); static void fetchInventoryDelayedCoro(const LLUUID task_inv, const F64 time_seconds); + static void fetchInventoryFromCapCoro(const LLUUID task_inv); public: // @@ -791,6 +792,7 @@ protected: static void processTaskInvFile(void** user_data, S32 error_code, LLExtStat ext_status); BOOL loadTaskInvFile(const std::string& filename); + void loadTaskInvLLSD(const LLSD &inv_result); void doInventoryCallback(); BOOL isOnMap(); |
