Interface IWolfClientCacheAccessor
Provides get-only access to Wolf client caches.
Namespace: TehGM.Wolfringo.Caching
Assembly: Wolfringo.Core.dll
Syntax
public interface IWolfClientCacheAccessor
Methods
| Improve this Doc View SourceGetCachedAchievement(WolfLanguage, UInt32)
Get achievement from cache.
Declaration
WolfAchievement GetCachedAchievement(WolfLanguage language, uint id)
Parameters
| Type | Name | Description |
|---|---|---|
| WolfLanguage | language | Language of achievement's translations. |
| System.UInt32 | id | ID of the achievement. |
Returns
| Type | Description |
|---|---|
| WolfAchievement | Cached achievement if found in requested language; otherwise null. |
GetCachedCharm(UInt32)
Get charm from cache.
Declaration
WolfCharm GetCachedCharm(uint id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | id | ID of the charm. |
Returns
| Type | Description |
|---|---|
| WolfCharm | Cached charm if found; otherwise null. |
GetCachedGroup(String)
Get group from cache.
Declaration
WolfGroup GetCachedGroup(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Name of the group. |
Returns
| Type | Description |
|---|---|
| WolfGroup | Cached group if found; otherwise null. |
GetCachedGroup(UInt32)
Get group from cache.
Declaration
WolfGroup GetCachedGroup(uint id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | id | ID of the group. |
Returns
| Type | Description |
|---|---|
| WolfGroup | Cached group if found; otherwise null. |
GetCachedUser(UInt32)
Get user from cache.
Declaration
WolfUser GetCachedUser(uint id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | id | ID of the user. |
Returns
| Type | Description |
|---|---|
| WolfUser | Cached user if found; otherwise null. |