C# Class SteamChatBot.Triggers.NotificationTrigger

Inheritance: BaseTrigger
Exibir arquivo Open project: Steam-Chat-Bot/SteamChatBot

Public Methods

Method 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

Method 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 method

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

onLoggedOn() public method

public onLoggedOn ( ) : bool
return bool

respondToChatMessage() public method

public respondToChatMessage ( SteamID roomID, SteamID chatterId, string message ) : bool
roomID SteamID
chatterId SteamID
message string
return bool

respondToFriendMessage() public method

public respondToFriendMessage ( SteamID userID, string message ) : bool
userID SteamID
message string
return bool