C# Class SteamChatBot.Triggers.ChatReplyTrigger

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

Méthodes publiques

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

Private Methods

Méthode Description
CheckMessage ( string message ) : bool
PickResponse ( ) : string
Respond ( SteamID toID, SteamID userID, string message, bool room ) : bool

Method Details

ChatReplyTrigger() public méthode

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

respondToChatMessage() public méthode

public respondToChatMessage ( SteamID roomID, SteamID chatterID, string message ) : bool
roomID SteamKit2.SteamID
chatterID SteamKit2.SteamID
message string
Résultat bool

respondToFriendMessage() public méthode

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