C# 클래스 OakBot.Giveaway

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: ocgineer/OakBot 1 사용 예제들

공개 메소드들

메소드 설명
DrawWinner ( ) : void
Giveaway ( string name, System.TimeSpan time, string word, int cost, bool followed, byte luck, System.TimeSpan response ) : OakBot.Args
Start ( ) : void
Stop ( ) : void

보호된 메소드들

메소드 설명
OnWinnerChosen ( WinnerChosenEventArgs e ) : void

비공개 메소드들

메소드 설명
BotChatConnection_ChatMessageReceived ( object o, ChatMessageReceivedEventArgs e ) : void
GiveawayTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
MeetsRequirements ( Viewer user ) : bool
NotifyPropertyChanged ( string info ) : void

메소드 상세

DrawWinner() 공개 메소드

public DrawWinner ( ) : void
리턴 void

Giveaway() 공개 메소드

public Giveaway ( string name, System.TimeSpan time, string word, int cost, bool followed, byte luck, System.TimeSpan response ) : OakBot.Args
name string
time System.TimeSpan
word string
cost int
followed bool
luck byte
response System.TimeSpan
리턴 OakBot.Args

OnWinnerChosen() 보호된 메소드

protected OnWinnerChosen ( WinnerChosenEventArgs e ) : void
e OakBot.Args.WinnerChosenEventArgs
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void