Implement native AIS inventory reconciliation (#63)
This commit is contained in:
@@ -15,6 +15,7 @@ mod download_manager;
|
||||
mod event_queue;
|
||||
mod gesture;
|
||||
mod inventory;
|
||||
mod inventory_ais;
|
||||
mod inventory_manager;
|
||||
#[rustfmt::skip] // Deterministic machine output is formatted by the pinned generator.
|
||||
mod foliage_catalog;
|
||||
@@ -47,6 +48,8 @@ mod avatar_animesh_semantics;
|
||||
#[cfg(test)]
|
||||
mod batch_link_internal_semantics;
|
||||
#[cfg(test)]
|
||||
mod inventory_ais_internal_semantics;
|
||||
#[cfg(test)]
|
||||
mod world_internal_semantics;
|
||||
|
||||
type Terrain = Vec<Vec<f32>>;
|
||||
@@ -146,17 +149,16 @@ impl appearance::CurrentOutfitFolder {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::unused_async, dead_code)]
|
||||
#[allow(dead_code)] // Internal C# surface consumed by InventoryManager workflows.
|
||||
impl InventoryAISClient {
|
||||
async fn create_inventory_links(
|
||||
&self,
|
||||
_parent_uuid: libremetaverse_types::UUID,
|
||||
_new_inventory: libremetaverse_structured_data::OSD,
|
||||
_cancellation_token: Option<libremetaverse_types::compat::CancellationToken>,
|
||||
parent_uuid: libremetaverse_types::UUID,
|
||||
new_inventory: libremetaverse_structured_data::OSD,
|
||||
cancellation_token: Option<libremetaverse_types::compat::CancellationToken>,
|
||||
) -> Result<Vec<InventoryItem>, Error> {
|
||||
libremetaverse_types::not_implemented(
|
||||
"M:LibreMetaverse.InventoryAISClient.CreateInventoryLinksAsync(LibreMetaverse.UUID,LibreMetaverse.StructuredData.OSD,System.Threading.CancellationToken)",
|
||||
)
|
||||
self.native_create_inventory_links(parent_uuid, new_inventory, cancellation_token)
|
||||
.await
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user