Class MessageTypes
java.lang.Object
com.realtime.crossfire.jxclient.protocol.MessageTypes
A set of message types or type/subtypes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisTypeShown(int type, int subtype) Returns whether a message type should be shown.
-
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 typestypes- 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 typesubtype- the message subtype- Returns:
- whether the message type should be shown
-