C# Class NScumm.Sword1.ResMan

Afficher le fichier Open project: scemino/nscumm Class Usage Examples

Méthodes publiques

Méthode Description
CptResOpen ( uint id ) : byte[]
FetchFrame ( byte resourceData, uint frameNo ) : ByteAccess
FetchRes ( uint id ) : byte[]
Flush ( ) : void
LockScript ( uint scrId ) : Header
OpenFetchRes ( uint id ) : byte[]
ReadInt16 ( short value ) : short
ReadUInt16 ( ushort value ) : ushort
ReadUInt32 ( uint value ) : uint
ResClose ( uint id ) : void
ResMan ( string directory, string fileName, bool isMacFile ) : System
ResOpen ( uint id ) : void
UnlockScript ( uint scrId ) : void

Private Methods

Méthode Description
LoadCluDescript ( string fileName ) : void
OpenCptResourceLittleEndian ( uint id ) : void
OpenScriptResourceLittleEndian ( uint id ) : void
ResFile ( uint id ) : Stream
ResHandle ( uint id ) : MemHandle
ResLength ( uint id ) : uint
ResOffset ( uint id ) : uint

Method Details

CptResOpen() public méthode

public CptResOpen ( uint id ) : byte[]
id uint
Résultat byte[]

FetchFrame() public méthode

public FetchFrame ( byte resourceData, uint frameNo ) : ByteAccess
resourceData byte
frameNo uint
Résultat ByteAccess

FetchRes() public méthode

public FetchRes ( uint id ) : byte[]
id uint
Résultat byte[]

Flush() public méthode

public Flush ( ) : void
Résultat void

LockScript() public méthode

public LockScript ( uint scrId ) : Header
scrId uint
Résultat Header

OpenFetchRes() public méthode

public OpenFetchRes ( uint id ) : byte[]
id uint
Résultat byte[]

ReadInt16() public méthode

public ReadInt16 ( short value ) : short
value short
Résultat short

ReadUInt16() public méthode

public ReadUInt16 ( ushort value ) : ushort
value ushort
Résultat ushort

ReadUInt32() public méthode

public ReadUInt32 ( uint value ) : uint
value uint
Résultat uint

ResClose() public méthode

public ResClose ( uint id ) : void
id uint
Résultat void

ResMan() public méthode

public ResMan ( string directory, string fileName, bool isMacFile ) : System
directory string
fileName string
isMacFile bool
Résultat System

ResOpen() public méthode

public ResOpen ( uint id ) : void
id uint
Résultat void

UnlockScript() public méthode

public UnlockScript ( uint scrId ) : void
scrId uint
Résultat void