Ich habe die folgen:bitmask Frage?
public static final int LIMIT_ONE = 1;
public static final int TRADEABLE = (1 << 1);
public static final int SELLABLE = (1 << 2);
public static final int STORABLE = (1 << 3);
public static final int STORABLE_IN_WH = (1 << 4);
public static final int STORABLE_IN_LEGION_WH = (1 << 5);
public static final int BREAKABLE = (1 << 6);
public static final int SOUL_BOUND = (1 << 7);
public static final int UNK9 = (1 << 8);
public static final int UNK10 = (1 << 9);
public static final int UNK11 = (1 << 10);
public static final int CAN_COMPOSITE_WEAPON = (1 << 11);
public static final int BLACK_CLOUD_TRADERS = (1 << 12);
public static final int CAN_SPLIT = (1 << 13);
public static final int UNK15 = (1 << 14);
public static final int UNK16 = (1 << 15);
und ich wollte verstehen, wie es die Folge Ergebnis gibt berechnet wird, zum Beispiel:
Ich bin wirklich ratlos, wie die bitmask Arbeit und wenn Jeder könnte vielleicht ein paar Tipps geben und erklären, wie es zu dieser Nummer geht, die ich sehr schätzen würde.
Möchten Sie wissen, was '' '' tut? Ich verstehe die Frage nicht. –
@Nikita aus dem obigen Satz Ich wollte verstehen, wie es die 12414 Bitmaske erzeugt und wie man es zurückstellt. – Prix