public static void SetState(ref ShowOptionType type, ShowOptionType nSet, ShowOptionType nClear) { if (nSet > ShowOptionType.None) { type |= nSet; } if (nClear > ShowOptionType.None) { type &= ~nClear; } }
public static bool SearchOption(ShowOptionType type) { return((type & ShowOptionType.Search) > ShowOptionType.None); }
public static bool RunInventoryOption(ShowOptionType type) { return((type & ShowOptionType.RunInventory) > ShowOptionType.None); }
public static void SetState(ref ShowOptionType type, ShowOptionType nSet, ShowOptionType nClear) { if (nSet > ShowOptionType.None) { type |= nSet; } if (nClear > ShowOptionType.None) { type &= ~nClear; } }
public static bool SearchOption(ShowOptionType type) { return ((type & ShowOptionType.Search) > ShowOptionType.None); }
public static bool RunInventoryOption(ShowOptionType type) { return ((type & ShowOptionType.RunInventory) > ShowOptionType.None); }