C# 클래스 Ultima.Sounds

파일 보기 프로젝트 열기: polserver/poltools

공개 메소드들

메소드 설명
Add ( int id, string name, string file ) : void
GetSound ( int soundID ) : UOSound

Returns UOSound of ID

GetSound ( int soundID, bool &translated ) : UOSound

Returns UOSound of ID with bool translated in .def

GetSoundLength ( int soundID ) : double

Returns length of SoundID

Initialize ( ) : void

Reads Sounds and def

IsValidSound ( int soundID, string &name ) : bool

Returns Soundname and tests if valid

Remove ( int id ) : void
Save ( string path ) : void
SaveSoundListToCSV ( string FileName ) : void

비공개 메소드들

메소드 설명
Sounds ( ) : System
WaveHeader ( int length ) : int[]

메소드 상세

Add() 공개 정적인 메소드

public static Add ( int id, string name, string file ) : void
id int
name string
file string
리턴 void

GetSound() 공개 정적인 메소드

Returns UOSound of ID
public static GetSound ( int soundID ) : UOSound
soundID int
리턴 UOSound

GetSound() 공개 정적인 메소드

Returns UOSound of ID with bool translated in .def
public static GetSound ( int soundID, bool &translated ) : UOSound
soundID int
translated bool
리턴 UOSound

GetSoundLength() 공개 정적인 메소드

Returns length of SoundID
public static GetSoundLength ( int soundID ) : double
soundID int
리턴 double

Initialize() 공개 정적인 메소드

Reads Sounds and def
public static Initialize ( ) : void
리턴 void

IsValidSound() 공개 정적인 메소드

Returns Soundname and tests if valid
public static IsValidSound ( int soundID, string &name ) : bool
soundID int
name string
리턴 bool

Remove() 공개 정적인 메소드

public static Remove ( int id ) : void
id int
리턴 void

Save() 공개 정적인 메소드

public static Save ( string path ) : void
path string
리턴 void

SaveSoundListToCSV() 공개 정적인 메소드

public static SaveSoundListToCSV ( string FileName ) : void
FileName string
리턴 void