C# Class OakBot.Giveaway

Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: ocgineer/OakBot Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
OnWinnerChosen ( WinnerChosenEventArgs e ) : void

Private Methods

Méthode Description
BotChatConnection_ChatMessageReceived ( object o, ChatMessageReceivedEventArgs e ) : void
GiveawayTimer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
MeetsRequirements ( Viewer user ) : bool
NotifyPropertyChanged ( string info ) : void

Method Details

DrawWinner() public méthode

public DrawWinner ( ) : void
Résultat void

Giveaway() public méthode

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
Résultat OakBot.Args

OnWinnerChosen() protected méthode

protected OnWinnerChosen ( WinnerChosenEventArgs e ) : void
e OakBot.Args.WinnerChosenEventArgs
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void