Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard/MyPageRefreshTask.cs
gamer147 824309ec44 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.
2026-06-05 20:30:59 -04:00

33 lines
891 B
C#

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;
}
}