Enum Class ChatCommands

java.lang.Object
java.lang.Enum<ChatCommands>
megamek.client.bot.princess.ChatCommands
All Implemented Interfaces:
Serializable, Comparable<ChatCommands>, Constable

public enum ChatCommands extends Enum<ChatCommands>

Represents the commands that the princess can execute.

Each command has an abbreviation, a command, a syntax and a description.

Since:
10/24/2014 9:57 AM
  • Enum Constant Details

  • Method Details

    • values

      public static ChatCommands[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChatCommands valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAbbreviation

      public String getAbbreviation()
    • getSyntax

      public String getSyntax()
    • getDescription

      public String getDescription()
    • getCommand

      public String getCommand()
    • getChatCommand

      public ChatCommand getChatCommand()
    • getByValue

      public static ChatCommands getByValue(String s)