public override bool Exists(UUID key) { if (m_Scene.TemporaryAssetService.Exists(key)) { return(true); } if (m_Scene.PersistentAssetService.Exists(key)) { return(true); } return(ResourceAssets.Exists(key)); }
public override Dictionary <UUID, bool> Exists(List <UUID> assets) { Dictionary <UUID, bool> asset1 = m_Scene.TemporaryAssetService.Exists(assets); foreach (KeyValuePair <UUID, bool> kvp in m_Scene.PersistentAssetService.Exists(assets)) { if (kvp.Value) { asset1[kvp.Key] = true; } } foreach (KeyValuePair <UUID, bool> kvp in ResourceAssets.Exists(assets)) { if (kvp.Value) { asset1[kvp.Key] = true; } } return(asset1); }