Implement appearance and current outfit services (#65)
This commit is contained in:
@@ -7,6 +7,7 @@ mod attention_catalog;
|
||||
mod agent_manager;
|
||||
mod agent_messages;
|
||||
mod agent_movement;
|
||||
mod appearance_manager;
|
||||
mod asset_cache;
|
||||
mod asset_manager;
|
||||
mod asset_material;
|
||||
@@ -15,6 +16,7 @@ mod bit_pack;
|
||||
mod caps;
|
||||
mod caps_http;
|
||||
mod client_core;
|
||||
mod current_outfit;
|
||||
mod download_manager;
|
||||
mod event_queue;
|
||||
mod gesture;
|
||||
@@ -122,41 +124,6 @@ impl animesh::AnimeshPlayer {
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
trait CofLinkItem {
|
||||
fn inventory_item(&self) -> &InventoryItem;
|
||||
fn wearable_type(&self) -> Option<libremetaverse_types::WearableType>;
|
||||
}
|
||||
|
||||
impl CofLinkItem for InventoryWearable {
|
||||
fn inventory_item(&self) -> &InventoryItem {
|
||||
&self.base
|
||||
}
|
||||
|
||||
fn wearable_type(&self) -> Option<libremetaverse_types::WearableType> {
|
||||
Some(self.wearable_type())
|
||||
}
|
||||
}
|
||||
|
||||
impl CofLinkItem for InventoryObject {
|
||||
fn inventory_item(&self) -> &InventoryItem {
|
||||
&self.base
|
||||
}
|
||||
|
||||
fn wearable_type(&self) -> Option<libremetaverse_types::WearableType> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::unused_self, dead_code)]
|
||||
impl appearance::CurrentOutfitFolder {
|
||||
fn get_cof_link_description(&self, _item: &dyn CofLinkItem) -> Result<String, Error> {
|
||||
libremetaverse_types::not_implemented(
|
||||
"M:LibreMetaverse.Appearance.CurrentOutfitFolder.GetCofLinkDescription(LibreMetaverse.InventoryItem)",
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
#[allow(dead_code)] // Internal C# surface consumed by InventoryManager workflows.
|
||||
impl InventoryAISClient {
|
||||
async fn create_inventory_links(
|
||||
|
||||
Reference in New Issue
Block a user