diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Interfaces/IAssetService.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IAssetService.cs b/OpenSim/Services/Interfaces/IAssetService.cs index f8bedfe..3be6815 100644 --- a/OpenSim/Services/Interfaces/IAssetService.cs +++ b/OpenSim/Services/Interfaces/IAssetService.cs | |||
@@ -51,6 +51,13 @@ namespace OpenSim.Services.Interfaces | |||
51 | byte[] GetData(string id); | 51 | byte[] GetData(string id); |
52 | 52 | ||
53 | /// <summary> | 53 | /// <summary> |
54 | /// Synchronously fetches an asset from the local cache only | ||
55 | /// </summary> | ||
56 | /// <param name="id">Asset ID</param> | ||
57 | /// <returns>The fetched asset, or null if it did not exist in the local cache</returns> | ||
58 | AssetBase GetCached(string id); | ||
59 | |||
60 | /// <summary> | ||
54 | /// Get an asset synchronously or asynchronously (depending on whether | 61 | /// Get an asset synchronously or asynchronously (depending on whether |
55 | /// it is locally cached) and fire a callback with the fetched asset | 62 | /// it is locally cached) and fire a callback with the fetched asset |
56 | /// </summary> | 63 | /// </summary> |