C# 클래스 LightController.MusicPlayer

파일 보기 프로젝트 열기: ImagineLearning/NerfGallery

공개 프로퍼티들

프로퍼티 타입 설명
FileName string
IsBeingPlayed bool
TrackName string

공개 메소드들

메소드 설명
GetVolume ( ) : int
MusicPlayer ( string fileName ) : System
Play ( bool Looping ) : void
SetVolume ( int newvolume ) : void
StopPlaying ( ) : void

비공개 메소드들

메소드 설명
PlaySound ( string pszSound, IntPtr hMod, SoundFlags sf ) : bool
PlayWorker ( ) : void
mciSendString ( string command, StringBuilder buffer, int bufferSize, IntPtr hwndCallback ) : Int32

메소드 상세

GetVolume() 공개 메소드

public GetVolume ( ) : int
리턴 int

MusicPlayer() 공개 메소드

public MusicPlayer ( string fileName ) : System
fileName string
리턴 System

Play() 공개 메소드

public Play ( bool Looping ) : void
Looping bool
리턴 void

SetVolume() 공개 메소드

public SetVolume ( int newvolume ) : void
newvolume int
리턴 void

StopPlaying() 공개 메소드

public StopPlaying ( ) : void
리턴 void

프로퍼티 상세

FileName 공개적으로 프로퍼티

public string FileName
리턴 string

IsBeingPlayed 공개적으로 프로퍼티

public bool IsBeingPlayed
리턴 bool

TrackName 공개적으로 프로퍼티

public string TrackName
리턴 string