C# Class HelperBot.Triggers

Static class containing Trigger for the bot to respond to a player.
Afficher le fichier Open project: Jonty800/HelperBot

Méthodes publiques

Свойство Type Description
SpleefInProgress bool

Méthodes publiques

Méthode Description
CheckTriggers ( Player player, String Message, MessageChannel Channel ) : void
IsAllUpper ( String text ) : bool
MatchesNameAndTrigger ( string rawMessage, String ArrayContainer ) : bool
MatchesTrigger ( string rawMessage, String ArrayContainer ) : bool
MessageIsTrigger ( string rawMessage, String ArrayContainer ) : bool

Method Details

CheckTriggers() public static méthode

public static CheckTriggers ( Player player, String Message, MessageChannel Channel ) : void
player fCraft.Player
Message String
Channel MessageChannel
Résultat void

IsAllUpper() public static méthode

public static IsAllUpper ( String text ) : bool
text String
Résultat bool

MatchesNameAndTrigger() public static méthode

public static MatchesNameAndTrigger ( string rawMessage, String ArrayContainer ) : bool
rawMessage string
ArrayContainer String
Résultat bool

MatchesTrigger() public static méthode

public static MatchesTrigger ( string rawMessage, String ArrayContainer ) : bool
rawMessage string
ArrayContainer String
Résultat bool

MessageIsTrigger() public static méthode

public static MessageIsTrigger ( string rawMessage, String ArrayContainer ) : bool
rawMessage string
ArrayContainer String
Résultat bool

Property Details

SpleefInProgress public_oe static_oe property

public static bool SpleefInProgress
Résultat bool