Commit 0bfb153d authored by xiaoye's avatar xiaoye

追加:无字段卡搜索

parent 59eebd92
......@@ -345,6 +345,8 @@ public class CardSearchInfo implements ICardFilter{
//TODO setcode
if (setcode > 0) {
return card.isSetCode(setcode);
} else if (setcode == -1) {
return card.SetCode == 0;
}
return true;
}
......
......@@ -441,6 +441,7 @@ public class CardSearcher implements View.OnClickListener {
List<CardSet> setnames = mStringManager.getCardSets();
List<SimpleSpinnerItem> items = new ArrayList<>();
items.add(new SimpleSpinnerItem(0, getString(R.string.label_set)));
items.add(new SimpleSpinnerItem(-1, getString(R.string.label_set_No_Setcode)));
for (CardSet set : setnames) {
items.add(new SimpleSpinnerItem(set.getCode(), set.getName()));
}
......
......@@ -128,6 +128,7 @@
<string name="label_limitlist">Banlist</string>
<string name="label_type">Tipo de carta</string>
<string name="label_set">Arquetipo</string>
<string name="label_set_No_Setcode">无字段卡</string>
<string name="label_level">Nvl/Rng/Lnk</string>
<string name="label_attr">Atributo</string>
<string name="label_category">Categoría</string>
......
......@@ -121,6 +121,7 @@
<string name="label_limitlist">リミットレギュレーション</string>
<string name="label_type">カード種類</string>
<string name="label_set">テキスト</string>
<string name="label_set_No_Setcode">无字段卡</string>
<string name="label_level">レベル/标数</string>
<string name="label_attr">属性</string>
<string name="label_category">効果分類</string>
......
......@@ -139,6 +139,7 @@
<string name="label_limitlist">리미트 레귤레이션</string>
<string name="label_type">카드 종류</string>
<string name="label_set">카드군</string>
<string name="label_set_No_Setcode">无字段卡</string>
<string name="label_level">레벨/랭크/링크</string>
<string name="label_attr">속성</string>
<string name="linkmarker">◀링크 마커▶</string>>
......
......@@ -124,6 +124,7 @@
<string name="label_limitlist">禁卡表</string>
<string name="label_type">卡片类型</string>
<string name="label_set">字段</string>
<string name="label_set_No_Setcode">无字段卡</string>
<string name="label_level">星/标数</string>
<string name="label_attr">属性</string>
<string name="label_category">效果分类</string>
......
......@@ -144,6 +144,7 @@
<string name="label_limitlist">Limit List</string>
<string name="label_type">Card Type</string>
<string name="label_set">Card Set</string>
<string name="label_set_No_Setcode">Without Setcode</string>
<string name="label_level">Lv/Rk/Lmk</string>
<string name="label_attr">Attribute</string>
<string name="linkmarker">◀LinkArrows▶</string>>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment