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:
gamer147
2026-06-05 20:30:59 -04:00
parent 78f310c2b3
commit 824309ec44
472 changed files with 55870 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
using Cute;
using UnityEngine;
namespace Wizard;
public class TransitionPublishDialog : MonoBehaviour
{
[SerializeField]
private UILabel _idLabel;
[SerializeField]
private UILabel _passwardLabel;
[SerializeField]
private UIButton _idCopyButton;
[SerializeField]
private UIButton _passwardButton;
public static void Create(string pass)
{
GameObject gameObject = Object.Instantiate(Resources.Load("UI/layoutParts/TransitionToTwo/TransitionPublishDialog")) as GameObject;
DialogBase dialogBase = UIManager.GetInstance().CreateDialogClose();
dialogBase.SetButtonLayout(DialogBase.ButtonLayout.OkBtn);
dialogBase.SetTitleLabel(Data.SystemText.Get("BeyondHandover_0001"));
dialogBase.SetSize(DialogBase.Size.M);
dialogBase.SetObj(gameObject);
TransitionPublishDialog component = gameObject.GetComponent<TransitionPublishDialog>();
component.SetIdText(pass);
component.SetCopyButtonEvent(pass);
}
private void SetIdText(string pass)
{
_idLabel.text = $"{PlayerStaticData.UserViewerID:#,0}".Replace(",", " ");
_passwardLabel.text = pass;
}
private void SetCopyButtonEvent(string pass)
{
_idCopyButton.onClick.Add(new EventDelegate(delegate
{
NativePluginWrapper.SetStringToClipboard(PlayerStaticData.UserViewerID.ToString());
DialogBase dialogBase = UIManager.GetInstance().CreateDialogClose();
dialogBase.SetPanelDepth(100);
dialogBase.SetSize(DialogBase.Size.S);
dialogBase.SetText(Data.SystemText.Get("BeyondHandover_0014"));
dialogBase.SetButtonLayout(DialogBase.ButtonLayout.OkBtn);
}));
_passwardButton.onClick.Add(new EventDelegate(delegate
{
NativePluginWrapper.SetStringToClipboard(pass);
DialogBase dialogBase = UIManager.GetInstance().CreateDialogClose();
dialogBase.SetPanelDepth(100);
dialogBase.SetSize(DialogBase.Size.S);
dialogBase.SetText(Data.SystemText.Get("BeyondHandover_0015"));
dialogBase.SetButtonLayout(DialogBase.ButtonLayout.OkBtn);
}));
}
}