C# Class HelperBot.Triggers

Static class containing Trigger for the bot to respond to a player.
Show file Open project: Jonty800/HelperBot

Public Properties

Property Type Description
SpleefInProgress bool

Public Methods

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

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

IsAllUpper() public static method

public static IsAllUpper ( String text ) : bool
text String
return bool

MatchesNameAndTrigger() public static method

public static MatchesNameAndTrigger ( string rawMessage, String ArrayContainer ) : bool
rawMessage string
ArrayContainer String
return bool

MatchesTrigger() public static method

public static MatchesTrigger ( string rawMessage, String ArrayContainer ) : bool
rawMessage string
ArrayContainer String
return bool

MessageIsTrigger() public static method

public static MessageIsTrigger ( string rawMessage, String ArrayContainer ) : bool
rawMessage string
ArrayContainer String
return bool

Property Details

SpleefInProgress public static property

public static bool SpleefInProgress
return bool