# 新版Next Helper
[TOC]
## next_upgrade_unit
打開升級中心 ,跳轉到指定兵種頁面
索引不填默認為-1。不顯示。
```xml
<next_upgrade_unit catalog="指向原來各兵種升級窗口的type" card="指定兵種的cardType" state_index="屬性索引" ability_index="技能索引" technology="指定升級的科技type" pointer_promote="是否指向升階按鈕(true or false)"/>
```
|catalog|對應窗口|
|---|---|
|infantry_upgrade_window|基礎兵升級|
|mercenary_upgrade_window|特種兵升級|
|support_upgrade_window|炮彈升級|
|officer_window|載具升級|
|elite_upgrade_window|精英兵升級|
---
## next_upgrade_unit_lowest_state
打開升級中心。跳轉到指定兵種。指向最低的屬性提示升級
```xml
<next_upgrade_unit_lowest_state catalog="指向原來各兵種升級窗口的type" card="指定兵種的cardType" />
```
具體參考`next_upgrade_unit`
---
## next_open_army_production
打開 兵種 訓練中心,跳轉到指定訓練廠
```xml
<next_open_army_production building="訓練廠建筑物type" contract="兵種槽(對應building.xml 中的contract)" />
```
|building|對應工廠|
|---|---|
|infantry_factory|步兵訓練營|
|support_factory|炮彈工廠|
|armor_factory|戰車工廠|
---
## next_open_campaign
打開主線章節副本。跳轉到指定關卡
```xml
<next_open_campaign campaign="章節type" arena="關卡arena_type" hide_pointer="為true的時候不顯示箭頭" pointer_sweep="為true的時候顯示掃蕩箭頭(優先判斷hide_pointer)"/>
```
如果helper填的arena沒有達到開啟條件。則只會跳轉到指定的章節。默認找可以打的最后的一個關卡
---
## next_open_ability_event
打開技能副本。 跳轉到指定關卡
```xml
<next_open_ability_event event="event_type" arena="關卡arena_type" hide_pointer="為true的時候不顯示箭頭" pointer_sweep="為true的時候顯示掃蕩箭頭(優先判斷hide_pointer)"/>
```
如果helper填的arena沒有達到開啟條件。則只會跳轉到指定的副本難度界面。默認找可以打的第一個關卡
----
## next_open_resource_event
打開資源副本。跳轉到指定關卡
```xml
<next_open_resource_event event="event_type" arena="關卡arena_type" hide_pointer="為true的時候不顯示箭頭"/>
```
---
## next_open_quest_window
打開任務窗口。跳轉到指定任務
```xml
<next_open_quest_window category="任務類型" quest="任務的quest_type"/>
```
|category|任務類型|
|---|---|
|story_quests|主線任務|
|minor_quests|支線任務|
|daily_quests|每日任務|
---
## next_open_resource_collect_window
打開資源收集窗口。 跳轉到指定資源
```xml
<next_open_resource_collect_window category="資源建筑"/>
```
|category|資源建筑|
|---|---|
|money_factory|鈔票廠|
|food_factory|糧食廠|
|fuel_factory|燃料廠|
---
## next_open_building_upgrade_window
打開軍需倉。跳轉到指定分頁
```xml
<next_open_building_upgrade_window category="建筑type"/>
```
|category|建筑|
|---|---|
|money_storage|銀行|
|food_storage|糧倉|
|fuel_storage|燃料|
---
## next_open_warehouse_window
打開倉庫。跳轉到指定分頁
```xml
<next_open_warehouse_window category="倉庫分頁"/>
```
|category|分頁|
|---|---|
|warehouse_all|全部|
|warehouse_army|軍隊|
|material_and_ability|材料與技能|
|warehouse_chest|寶箱|
---
## next_open_shop_window
打開商城。跳轉到指定分頁
```xml
<next_open_shop_window category="商城分頁" tab_id="分頁內二級分頁"/>
```
|category|商城分頁|
|---|---|
|all|全部|
|soldier|兵種|
|ability|技能|
|material|裝備材料|
|dailyLimit|限購|
* 技能書分頁
|tabid|二級分頁|
|---|---|
|all|所有兵種|
|soldier|輕步兵|
|gunner|重步兵|
|tank|重型裝甲|
|officer|載具|
* 裝備材料分頁
|tabid|二級分頁|
|---|---|
|resource|資源|
|science|科技|
* 鉆石限購分頁
|tabid|二級分頁|
|---|---|
|officer|載具|
|ability|技能書|
## next_open_plunder_window
打開掠奪窗口
```xml
<next_open_plunder_window pointer_search="false" pointer_revenge="false" pointer_collect="false"/>
```
* `pointer_search` 指向搜索按鈕。如果有目標則指向掠奪按鈕
* `pointer_revenge`指向復仇
* `pointer_collect` 指向收取
## next_upgrade_resource_collect_building
升級資源收集建筑 。 跳轉到資源收集窗口。箭頭指向升級按鈕
```xml
<next_upgrade_resource_collect_building building="建筑type" />
```
|building|建筑|
|---|---|
|money_factory|鈔票廠|
|food_factory|糧食廠|
|fuel_factory|燃料廠|
---
## next_upgrade_storage_building
升級資源倉庫建筑
```xml
<next_upgrade_storage_building building="建筑type"/>
```
|building|建筑|
|---|---|
|money_storage|銀行|
|food_storage|糧倉|
|fuel_storage|燃料|
---
## next_upgrade_army_produce_building
升級兵種訓練場
```xml
<next_upgrade_army_produce_building building="建筑type"/>
```
|building|對應工廠|
|---|---|
|infantry_factory|步兵訓練營|
|support_factory|炮彈工廠|
|armor_factory|戰車工廠|
---
## next_open_challenge_window
打開精英據點 。 跳轉到指定分頁
```xml
<next_open_challenge_window level="指定等級分頁" arena="指定選中的副本"/>
```
|level|指定分頁|
|---|---|
|challenge_all|全部|
|challenge_zero|0-5級|
|challenge_six|6-10級|
|challenge_eleven|11-15級|
> arena 為指定要顯示的arenaType
> ps:指定arenatype的時候要注意分頁別寫錯。不然不會選中
---
## next_open_pvp_window
打開鉆石之戰
```xml
<next_open_pvp_window />
```
---
## next_open_clan_room_window
打開組織戰房間派兵界面
> 這個Helper不用于配置中
```xml
沒有XML
```
---
## next_open_clan_window
打開組織界面
> 如果沒有組織則打開組織列表界面。如果有組織則打開組織界面
```xml
<next_open_clan_window/>
```
---
## next_open_clan_vacancy_window
打開組織列表界面
```xml
<next_open_clan_vacancy_window/>
```
## next_open_base_bg_window
打開主基地(已經打開了這個界面的情況下不執行)
```xml
<next_open_base_bg_window/>
```
---
## next_open_daily_mission_window
打開每日競技窗口
```xml
<next_open_daily_mission_window/>
```
---
## next_upgrade_support_technology
升級炮彈科技
```xml
<next_upgrade_support_technology card="指定兵種的cardType" technology="科技節點的type"/>
```
---
## next_open_unlock_soldier_window
打開解鎖兵種窗口
```xml
<next_open_unlock_soldier_window card=""/>
```
> card內容參考client_unlockSoldier.xml中的type
---
## next_open_defend_window
打開城防窗口 可指向指定的槽
```xml
<next_open_defend_window slot=""/>
```
> slot內填寫指定的槽的type。參照client_plunder_defend.xml中的type
---
## next_upgrade_officer_technology
打開軍官專精窗口。指向指定科技
```xml
<next_upgrade_officer_technology technology=""/>
```
> technology 參照 client_clan_technology_tree.xml中的technology
---
## next_open_card_suit
打開指定的基礎兵界面并選定指定的套裝
```xml
<next_open_card_suit card="" suit_index=""/>
```
> card內容參考client_card.xml中的type
> suit_index為指定card的套裝索引
---
## next_open_sign_in_window
打開每日簽到窗口
```xml
<next_open_sign_in_window/>
```
---
## next_open_login_and_online_window
打開在線獎勵窗口
```xml
<next_open_login_and_online_window/>
```
---
## next_open_vip_window
打開VIP窗口
```xml
<next_open_vip_window level=""/>
```
> level 指定跳轉的等級
---
## next_open_daily_recharge_window
打開充值返利窗口
```xml
<next_open_daily_recharge_window tab=""/>
```
|tab|對應頁面|
|---|---|
|daily_recharge_reward|每日充值|
|cumulative_charge_get_reward|累充返利|
|consumption_gold_get_reward|消費返利|
|continued_days_get_reward|連續充值|
---
## next_open_carnival_window
打開七日狂歡窗口
```xml
<next_open_carnival_window tab=""/>
```
|tab|對應頁面|
|---|---|
|daily_welfare|每日福利|
|daily_goal|七日目標|
|recharge_welfare|充值福利|
|activity_end|活動結束|
---
## next_open_premium_account_window
打開資源月卡界面
```xml
<next_open_premium_account_window/>
```
## next_open_tournament_window
打開血戰演武界面
<next_open_tournament_window tab=""/>
|tab|頁面|
|---|---|
|tournament|個人競技|
|tournament_clan|組織戰(如果組織戰沒有開啟不會打開界面,文字提示未開啟)|
|tournament_battle|跨服戰(如果為開啟,則默認跳轉到個人競技 )|
---
# 原版helper遷移整理
## next_open_resource_buy_window
打開購買資源窗口
```xml
<next_open_resource_buy_window item="要購買資源的item" requirement=""/>
```
## next_open_gold_buy_window
打開充值購買金條窗口
```xml
<next_open_gold_buy_window/>
```
> 現在沒有充值窗口。執行后只會有一個提示是否打開的提示,點擊打開后沒有效果
## next_open_resource_helper_window
打開資源不足引導跳轉窗口(當前只有money 和 food)
```xml
<next_open_resource_helper_window item="">
```
---
## next_open_lotties
打開抽獎界面
```xml
<next_open_lotties/>
```
---
## next_open_user_gift_window
打開新手禮包界面
```xml
<next_open_user_gift_window/>
```
---
## next_open_first_charge_window
打開首沖界面 判斷是否有首沖。如果沒有彈出充值界面
```xml
<next_open_first_charge_window/>
```
---
## next_open_fuel_buy_window
打開購買燃油界面
```xml
<next_open_fuel_buy_window/>
```
## next_open_assistant_windwo
打開小助手 界面
```xml
<next_open_assistant_windwo/>
```
## next_execute_script
執行腳本
```xml
<next_execute_script type="腳本type"/>
```
## next_open_help_window
打開攻略界面
```xml
<next_open_help_window type="tabID"/>
```
|type||
|---|---|
|armys||
|strongs||
|resources||
## next_open_rating_window
打開排行榜界面
```xml
<next_open_rating_window type=""/>
```
|type|分頁|
|---|---|
|person_win|個人排行|
|all_service|全服戰力|
|rating_plunder|掠奪勝場|
---
## next_open_time_limit_event_window
打開限時活動界面
```xml
<next_open_time_limit_event_window event=""/>
```