Class MessageTypes

java.lang.Object
com.realtime.crossfire.jxclient.protocol.MessageTypes

public class MessageTypes extends Object
A set of message types or type/subtypes.
  • Constructor Details

    • MessageTypes

      public MessageTypes(boolean add, int @NotNull [] types)
      Creates a new instance.
      Parameters:
      add - true=show only the given message types; false=show all but the given message types
      types - the included message type and subtype IDs
  • Method Details

    • isTypeShown

      public boolean isTypeShown(int type, int subtype)
      Returns whether a message type should be shown.
      Parameters:
      type - the message type
      subtype - the message subtype
      Returns:
      whether the message type should be shown