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,120 @@
using UnityEngine;
namespace Wizard.Battle.Player.ClassCharacter;
internal class PlayerHighRankSpineClassCharacter : HighRankSpineClassCharacter
{
protected readonly Vector3 WIDGET_POSITION = new Vector3(0f, -460f, 30f);
protected readonly int WIDGET_OFFSET_BOTTOM = 71;
protected readonly int WIDGET_OFFSET_TOP = 171;
protected readonly Vector3 PP_PANEL_POSITION = new Vector3(0f, -34.22f, -29.25f);
protected override string GetTagName()
{
return "Player";
}
protected override void SetUpAnchor(GameObject o)
{
o.transform.localPosition = WIDGET_POSITION;
UIWidget uIWidget = o.AddComponent<UIWidget>();
uIWidget.bottomAnchor.relative = 0f;
uIWidget.bottomAnchor.absolute = WIDGET_OFFSET_BOTTOM;
Transform transform = BattleManagerBase.GetIns().Battle3DContainer.transform;
uIWidget.bottomAnchor.target = transform;
uIWidget.topAnchor.target = transform;
uIWidget.topAnchor.relative = 0f;
uIWidget.topAnchor.absolute = WIDGET_OFFSET_TOP;
}
protected override void AttachOtherUI(GameObject o)
{
BattleManagerBase.GetIns().BattlePlayer.BattleView.EpPanel.transform.parent = o.transform;
}
public override Vector3 GetSpinePosition()
{
return new Vector3(0f, -0.02f, -0.27f);
}
protected override string GetTextureName()
{
return "mt_Encampment_Chara_1";
}
public override Vector3 GetMaskImagePosition()
{
return new Vector3(0f, 0.12f, 0f);
}
protected override Vector3 GetShieldPosition()
{
return new Vector3(2f, 1.7f, 0f);
}
protected override Vector3 GetLifeIconPosition()
{
return new Vector3(0f, 0f, 0.1f);
}
public override Quaternion GetMaskImageRotation()
{
return Quaternion.identity;
}
public override Vector3 ConvertSpineScale(Vector3 originalScale)
{
return originalScale * 1.003125f;
}
public override int GetSpineSortingOrder(bool isBack = false)
{
if (!isBack)
{
return -2;
}
return -10;
}
public override int GetMaskSortingOrder(bool isBack = false)
{
if (!isBack)
{
return -2;
}
return -10;
}
protected override int GetEmoteLabelDepth()
{
return 42;
}
protected override int GetCharaId()
{
return GameMgr.GetIns().GetDataMgr().GetPlayerCharaId();
}
public override int GetSkinId()
{
return GameMgr.GetIns().GetDataMgr().GetPlayerSkinId();
}
public override int GetStencil()
{
return 3;
}
protected override Vector3 GetPosition()
{
return Global.CLASS_BATTLE_POSITION_PLAYER;
}
protected override Quaternion ConvertBackPanelRotation(Quaternion originalRotation)
{
return originalRotation;
}
}