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:
@@ -0,0 +1,34 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Wizard;
|
||||
|
||||
public class MyPageRewardDialogBoxCount : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private UILabel _label;
|
||||
|
||||
public static GameObject Create(GameObject prefab, CampaignBattleWin info)
|
||||
{
|
||||
GameObject obj = Object.Instantiate(prefab);
|
||||
obj.GetComponentInChildren<MyPageRewardDialogBoxCount>().Initialize(info);
|
||||
return obj;
|
||||
}
|
||||
|
||||
private void Initialize(CampaignBattleWin info)
|
||||
{
|
||||
string text = "";
|
||||
switch (info.BoxStatus)
|
||||
{
|
||||
case CampaignBattleWin.eBoxStatus.NO_GET:
|
||||
text = Data.SystemText.Get("MyPage_0078");
|
||||
break;
|
||||
case CampaignBattleWin.eBoxStatus.ACTIVE:
|
||||
text = Data.SystemText.Get("MyPage_0079");
|
||||
break;
|
||||
case CampaignBattleWin.eBoxStatus.ALREADY_GET:
|
||||
text = Data.SystemText.Get("MyPage_0080");
|
||||
break;
|
||||
}
|
||||
_label.text = Data.SystemText.Get("MyPage_0077") + " " + text;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user