23 package com.realtime.crossfire.jxclient.protocol;
25 import org.jetbrains.annotations.NotNull;
37 private final boolean add;
42 private final int @NotNull []
types;
52 this.types =
types.clone();
61 public boolean isTypeShown(
final int type,
final int subtype) {
62 for (
int tmp :
types) {
63 final int tmpType = tmp&0xFFFF;
64 final int tmpSubtype = (tmp>>16)&0xFFFF;
65 if (tmpType == type && (tmpSubtype == 0xFFFF || tmpSubtype == subtype)) {