feat(battle-engine): close the AI-simulation subsystem (verbatim)
Copied the 89 uncopied AI*SimulationUtility/extension files defining the AIVirtualCard/AIVirtualField extension methods; the compile loop then auto-closed the revealed type deps (~3049 files total, drift-clean). 10.0k -> 62 errors.
This commit is contained in:
32
SVSim.BattleEngine/Engine/Wizard/MyPageRefreshTask.cs
Normal file
32
SVSim.BattleEngine/Engine/Wizard/MyPageRefreshTask.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class MyPageRefreshTask : BaseTask
|
||||
{
|
||||
public class MyPageRefreshTaskParam : BaseParam
|
||||
{
|
||||
}
|
||||
|
||||
public MyPageRefreshTask()
|
||||
{
|
||||
base.type = ApiType.Type.MypageRefresh;
|
||||
}
|
||||
|
||||
public void SetParameter()
|
||||
{
|
||||
MyPageRefreshTaskParam myPageRefreshTaskParam = new MyPageRefreshTaskParam();
|
||||
base.Params = myPageRefreshTaskParam;
|
||||
}
|
||||
|
||||
protected override int Parse()
|
||||
{
|
||||
int num = base.Parse();
|
||||
if (num != 1)
|
||||
{
|
||||
return num;
|
||||
}
|
||||
Data.Load.data._receiveInviteCount = base.ResponseData["data"]["friend_battle_invite_count"].ToInt();
|
||||
Data.MyPageNotifications.data.ShopNotification.SetShopNotification(base.ResponseData);
|
||||
Data.MyPageNotifications.data.GatheringMyPageInfo.IsMatchingNotification = !string.IsNullOrEmpty(base.ResponseData["data"]["gathering_notification"]["matching_established_message"].ToString());
|
||||
return num;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user