C# Class SteamChatBot.Triggers.NotificationTrigger

Inheritance: BaseTrigger
Afficher le fichier Open project: Steam-Chat-Bot/SteamChatBot

Méthodes publiques

Méthode Description
NotificationTrigger ( TriggerType type, string name, TriggerOptionsBase options ) : System
onLoggedOn ( ) : bool
respondToChatMessage ( SteamID roomID, SteamID chatterId, string message ) : bool
respondToFriendMessage ( SteamID userID, string message ) : bool

Private Methods

Méthode Description
CheckIfDBExists ( SteamID userID ) : void
Respond ( SteamID toID, SteamID userID, string message, bool room ) : bool
SaveTimer_Elapsed ( object sender, ElapsedEventArgs e ) : void

Method Details

NotificationTrigger() public méthode

public NotificationTrigger ( TriggerType type, string name, TriggerOptionsBase options ) : System
type TriggerType
name string
options SteamChatBot.Triggers.TriggerOptions.TriggerOptionsBase
Résultat System

onLoggedOn() public méthode

public onLoggedOn ( ) : bool
Résultat bool

respondToChatMessage() public méthode

public respondToChatMessage ( SteamID roomID, SteamID chatterId, string message ) : bool
roomID SteamID
chatterId SteamID
message string
Résultat bool

respondToFriendMessage() public méthode

public respondToFriendMessage ( SteamID userID, string message ) : bool
userID SteamID
message string
Résultat bool