C# 클래스 CrystalMpq.MpqNameCache

Represents a cache of file names for MpqArchive.
Multiple MpqArchive in the same file system are likely to share the same filename. Using a common cache for these archives will allow a reduction in memory footprint, and possibly an increase in cache efficiency.
파일 보기 프로젝트 열기: sgraf812/crystalmpq

공개 메소드들

메소드 설명
IsFilenameCached ( string value ) : string

Determines whether the specified filename is cached.

MpqNameCache ( ) : System

Initializes a new instance of the MpqNameCache class.

비공개 메소드들

메소드 설명
GetCachedFilename ( string value ) : string
GetCachedFilenameInternal ( string value, bool allowCaching ) : string

메소드 상세

IsFilenameCached() 공개 메소드

Determines whether the specified filename is cached.
public IsFilenameCached ( string value ) : string
value string The value to look up in the cache.
리턴 string

MpqNameCache() 공개 메소드

Initializes a new instance of the MpqNameCache class.
public MpqNameCache ( ) : System
리턴 System