C# Class NScumm.Scumm.IO.MacResManager

Class for handling Mac data and resource forks. It can read from raw, MacBinary, and AppleDouble formats.
显示文件 Open project: scemino/nscumm Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Exists ( string fileName ) : bool
GetResIDArray ( uint typeID ) : ushort[]
GetResName ( uint typeID, ushort resID ) : string
GetResource ( uint typeID, ushort resID ) : Stream
MacResManager ( string gamePath ) : System.IO
Open ( string fileName ) : bool
ReadMap ( ) : void

Private Methods

Method Description
Load ( Stream stream ) : bool
LoadFromMacBinary ( Stream stream ) : bool

Method Details

Close() public method

public Close ( ) : void
return void

Exists() public method

public Exists ( string fileName ) : bool
fileName string
return bool

GetResIDArray() public method

public GetResIDArray ( uint typeID ) : ushort[]
typeID uint
return ushort[]

GetResName() public method

public GetResName ( uint typeID, ushort resID ) : string
typeID uint
resID ushort
return string

GetResource() public method

public GetResource ( uint typeID, ushort resID ) : Stream
typeID uint
resID ushort
return System.IO.Stream

MacResManager() public method

public MacResManager ( string gamePath ) : System.IO
gamePath string
return System.IO

Open() public method

public Open ( string fileName ) : bool
fileName string
return bool

ReadMap() public method

public ReadMap ( ) : void
return void