C# Class SteamChatBot.Triggers.GoogleTrigger

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

Public Methods

Method Description
GoogleTrigger ( TriggerType type, string name, TriggerOptionsBase options ) : System
respondToChatMessage ( SteamID roomID, SteamID chatterId, string message ) : bool
respondToFriendMessage ( SteamID userID, string message ) : bool

Private Methods

Method Description
Respond ( SteamID toID, SteamID userID, string message, bool room ) : bool

Method Details

GoogleTrigger() public method

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

respondToChatMessage() public method

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

respondToFriendMessage() public method

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