|
Online Maps v3
|
Custom cache atlas. More...
Public Member Functions | |
| void | Add (OnlineMapsCache cache, string key, byte[] bytes) |
| Adds a new item to the atlas. | |
| byte[] | GetItem (OnlineMapsCache cache, string key) |
| Returns value from custom cache by key. | |
Public Member Functions inherited from OnlineMapsCache.CacheAtlas< CustomCacheItem > | |
| CacheAtlas () | |
| Constructor. | |
| bool | Contains (string filename) |
| Checks whether the atlas contains the specified file. | |
| T | CreateItem (string filename, int size, long time) |
| Creates a new item. | |
| void | DeleteOldItems (OnlineMapsCache cache) |
| Deletes old items. | |
| void | Load (OnlineMapsCache cache) |
| Loads the atlas from the cache. | |
| void | Save (OnlineMapsCache cache) |
| Saves the atlas. | |
Static Public Attributes | |
| const string | AtlasName = "customcacheatlas.dat" |
| Name of the atlas file. | |
Properties | |
| override string | atlasName [get] |
| Returns the name of the atlas file. | |
Properties inherited from OnlineMapsCache.CacheAtlas< CustomCacheItem > | |
| string | atlasName [get] |
| Name of the atlas. | |
| int | size [get, protected set] |
| Size of the atlas. | |
Additional Inherited Members | |
Protected Attributes inherited from OnlineMapsCache.CacheAtlas< CustomCacheItem > | |
| int | capacity |
| Capacity of the atlas. | |
| int | count |
| Count of items in the atlas. | |
| T[] | items |
| Items of the atlas. | |
Static Protected Attributes inherited from OnlineMapsCache.CacheAtlas< CustomCacheItem > | |
| const short | ATLAS_VERSION |
| Version of the atlas. | |
Custom cache atlas.
| void OnlineMapsCache.CustomCacheAtlas.Add | ( | OnlineMapsCache | cache, |
| string | key, | ||
| byte[] | bytes ) |
Adds a new item to the atlas.
| cache | Cache |
| key | Key |
| bytes | Bytes |
| byte[] OnlineMapsCache.CustomCacheAtlas.GetItem | ( | OnlineMapsCache | cache, |
| string | key ) |
Returns value from custom cache by key.
| cache | Cache |
| key | Key |