C# 클래스 NScumm.Scumm.IO.ResourceManager

상속: IEnableTrace
파일 보기 프로젝트 열기: scemino/nscumm 1 사용 예제들

공개 메소드들

메소드 설명
GetCharsetData ( byte id ) : byte[]
GetCostumeCounter ( int id ) : int
GetCostumeData ( int id ) : byte[]
GetRoom ( byte roomNum ) : Room
GetRoomCounter ( int id ) : int
GetScript ( int id ) : byte[]
GetScriptCounter ( int id ) : int
GetSound ( MusicDriverTypes music, int id ) : byte[]
GetSoundCounter ( int id ) : int
GetSounds ( MusicDriverTypes music ) : IEnumerable
IsSoundLoaded ( int sound ) : bool
Load ( GameInfo game ) : ResourceManager
LoadCostume ( int id ) : void
LoadRoom ( int id ) : void
LoadScript ( int id ) : void
LoadSound ( MusicDriverTypes music, int id ) : void
LockCostume ( int resid ) : void
LockRoom ( int resid ) : void
LockScript ( int resid ) : void
LockSound ( int resid ) : void
SetCostumeCounter ( int id, int counter ) : void
SetRoomCounter ( int id, int counter ) : void
SetScriptCounter ( int id, int counter ) : void
SetSoundCounter ( int id, int counter ) : void
UnlockCostume ( int resid ) : void
UnlockRoom ( int resid ) : void
UnlockScript ( int resid ) : void
UnlockSound ( int resid ) : void

보호된 메소드들

메소드 설명
ExpireResources ( int size ) : void
IncreaseExpireCounter ( ) : void
NukeResource ( ResType type, int idx ) : void
OpenRoom ( byte roomIndex ) : ResourceFile
ReadCharset ( byte id ) : byte[]
ResourceManager ( GameInfo game ) : System

비공개 메소드들

메소드 설명
ConvertADResource ( byte input, int idx ) : byte[]
ConvertExtraflags ( byte ptr, int destIndex, byte srcPtr, int inPos ) : int
GetCounter ( ResType type ) : int>.IDictionary
GetLock ( ResType type ) : HashSet
GetResource ( byte[]>.Dictionary resources, int id, System.Action loadResource ) : byte[]
GetResources ( ResType type ) : byte[]>.IDictionary
GetRoomOffset ( ResourceFile disk, byte roomNum ) : long
IncreaseResourceCounter ( int>.IDictionary counters ) : void
IncreaseResourceCounters ( ) : void
WriteMIDIHeader ( byte input, string type, int ppqn, int totalSize ) : void
WriteVLQ ( byte ptr, int outPos, int value ) : int

메소드 상세

ExpireResources() 보호된 메소드

protected ExpireResources ( int size ) : void
size int
리턴 void

GetCharsetData() 공개 메소드

public GetCharsetData ( byte id ) : byte[]
id byte
리턴 byte[]

GetCostumeCounter() 공개 메소드

public GetCostumeCounter ( int id ) : int
id int
리턴 int

GetCostumeData() 공개 메소드

public GetCostumeData ( int id ) : byte[]
id int
리턴 byte[]

GetRoom() 공개 메소드

public GetRoom ( byte roomNum ) : Room
roomNum byte
리턴 Room

GetRoomCounter() 공개 메소드

public GetRoomCounter ( int id ) : int
id int
리턴 int

GetScript() 공개 메소드

public GetScript ( int id ) : byte[]
id int
리턴 byte[]

GetScriptCounter() 공개 메소드

public GetScriptCounter ( int id ) : int
id int
리턴 int

GetSound() 공개 메소드

public GetSound ( MusicDriverTypes music, int id ) : byte[]
music MusicDriverTypes
id int
리턴 byte[]

GetSoundCounter() 공개 메소드

public GetSoundCounter ( int id ) : int
id int
리턴 int

GetSounds() 공개 메소드

public GetSounds ( MusicDriverTypes music ) : IEnumerable
music MusicDriverTypes
리턴 IEnumerable

IncreaseExpireCounter() 보호된 메소드

protected IncreaseExpireCounter ( ) : void
리턴 void

IsSoundLoaded() 공개 메소드

public IsSoundLoaded ( int sound ) : bool
sound int
리턴 bool

Load() 공개 정적인 메소드

public static Load ( GameInfo game ) : ResourceManager
game GameInfo
리턴 ResourceManager

LoadCostume() 공개 메소드

public LoadCostume ( int id ) : void
id int
리턴 void

LoadRoom() 공개 메소드

public LoadRoom ( int id ) : void
id int
리턴 void

LoadScript() 공개 메소드

public LoadScript ( int id ) : void
id int
리턴 void

LoadSound() 공개 메소드

public LoadSound ( MusicDriverTypes music, int id ) : void
music MusicDriverTypes
id int
리턴 void

LockCostume() 공개 메소드

public LockCostume ( int resid ) : void
resid int
리턴 void

LockRoom() 공개 메소드

public LockRoom ( int resid ) : void
resid int
리턴 void

LockScript() 공개 메소드

public LockScript ( int resid ) : void
resid int
리턴 void

LockSound() 공개 메소드

public LockSound ( int resid ) : void
resid int
리턴 void

NukeResource() 보호된 메소드

protected NukeResource ( ResType type, int idx ) : void
type ResType
idx int
리턴 void

OpenRoom() 보호된 추상적인 메소드

protected abstract OpenRoom ( byte roomIndex ) : ResourceFile
roomIndex byte
리턴 ResourceFile

ReadCharset() 보호된 추상적인 메소드

protected abstract ReadCharset ( byte id ) : byte[]
id byte
리턴 byte[]

ResourceManager() 보호된 메소드

protected ResourceManager ( GameInfo game ) : System
game GameInfo
리턴 System

SetCostumeCounter() 공개 메소드

public SetCostumeCounter ( int id, int counter ) : void
id int
counter int
리턴 void

SetRoomCounter() 공개 메소드

public SetRoomCounter ( int id, int counter ) : void
id int
counter int
리턴 void

SetScriptCounter() 공개 메소드

public SetScriptCounter ( int id, int counter ) : void
id int
counter int
리턴 void

SetSoundCounter() 공개 메소드

public SetSoundCounter ( int id, int counter ) : void
id int
counter int
리턴 void

UnlockCostume() 공개 메소드

public UnlockCostume ( int resid ) : void
resid int
리턴 void

UnlockRoom() 공개 메소드

public UnlockRoom ( int resid ) : void
resid int
리턴 void

UnlockScript() 공개 메소드

public UnlockScript ( int resid ) : void
resid int
리턴 void

UnlockSound() 공개 메소드

public UnlockSound ( int resid ) : void
resid int
리턴 void