Oolite
Loading...
Searching...
No Matches
OOCacheManager(OOMesh) Category Reference

Class Methods

(NSDictionary *) + meshDataForName:
(void) + setMeshData:forName:

Detailed Description

Definition at line 173 of file OOMesh.m.

Method Documentation

◆ meshDataForName:

+ (NSDictionary *) meshDataForName: (NSString*) inShipName

Extends class OOCacheManager.

Definition at line 2006 of file OOMesh.m.

2006 :(NSString*)inShipName
2007{
2008 return [[self sharedCache] objectForKey:inShipName inCache:kOOCacheMeshes];
2009}

References OOCacheManager::objectForKey:inCache:, and OOCacheManager::sharedCache.

Here is the call graph for this function:

◆ setMeshData:forName:

+ (void) setMeshData: (NSDictionary*) inData
forName: (NSString*) inShipName 

Extends class OOCacheManager.

Definition at line 2011 of file OOMesh.m.

2011 :(NSDictionary*)inData forName:(NSString*)inShipName
2012{
2013 if (inData != nil && inShipName != nil) {
2014 [[self sharedCache] setObject:inData forKey:inShipName inCache:kOOCacheMeshes];
2015 }
2016}
return nil

References nil, OOCacheManager::setObject:forKey:inCache:, and OOCacheManager::sharedCache.

Here is the call graph for this function:

The documentation for this category was generated from the following file: