C# 클래스 ValveResourceFormat.ResourceTypes.Sound

상속: Blocks.ResourceData
파일 보기 프로젝트 열기: SteamDatabase/ValveResourceFormat

공개 메소드들

메소드 설명
ExtractSub ( uint l, byte offset, byte nrBits ) : uint
GetSound ( ) : byte[]

Returns a fully playable sound data. In case of WAV files, header is automatically generated as Valve removes it when compiling.

GetSoundStream ( ) : MemoryStream

Returns a fully playable sound data. In case of WAV files, header is automatically generated as Valve removes it when compiling.

Read ( BinaryReader reader, Resource resource ) : void
ToString ( ) : string

비공개 메소드들

메소드 설명
PackageInt ( uint source, int length ) : byte[]

메소드 상세

ExtractSub() 공개 정적인 메소드

public static ExtractSub ( uint l, byte offset, byte nrBits ) : uint
l uint
offset byte
nrBits byte
리턴 uint

GetSound() 공개 메소드

Returns a fully playable sound data. In case of WAV files, header is automatically generated as Valve removes it when compiling.
public GetSound ( ) : byte[]
리턴 byte[]

GetSoundStream() 공개 메소드

Returns a fully playable sound data. In case of WAV files, header is automatically generated as Valve removes it when compiling.
public GetSoundStream ( ) : MemoryStream
리턴 System.IO.MemoryStream

Read() 공개 메소드

public Read ( BinaryReader reader, Resource resource ) : void
reader System.IO.BinaryReader
resource Resource
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string