feat(battle-engine): EffectType full enum + collection/card/vfx extension copies
Replaces partial EffectMgr.EffectType with all 226 decomp values; copies the IsNotNullOrEmpty/EquelsID/FindFromCardId/GetAllFuncVfxResults extension files + UI extensions; adds Renderer/MeshFilter shared-material/mesh/sortingOrder. Compile loop then closed the revealed deps (3242 files). 9.1k -> 18 errors.
This commit is contained in:
51
SVSim.BattleEngine/Engine/ColosseumHeadLine.cs
Normal file
51
SVSim.BattleEngine/Engine/ColosseumHeadLine.cs
Normal file
@@ -0,0 +1,51 @@
|
||||
using UnityEngine;
|
||||
using Wizard;
|
||||
|
||||
public class ColosseumHeadLine : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private UILabel _ticketNum;
|
||||
|
||||
[SerializeField]
|
||||
private UILabel _ticketCost;
|
||||
|
||||
[SerializeField]
|
||||
private UILabel _rupyNum;
|
||||
|
||||
[SerializeField]
|
||||
private UILabel _rupyCost;
|
||||
|
||||
[SerializeField]
|
||||
private UILabel _crystalNum;
|
||||
|
||||
[SerializeField]
|
||||
private UILabel _crystalCost;
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
UpdateHeadLine();
|
||||
}
|
||||
|
||||
public void UpdateHeadLine()
|
||||
{
|
||||
int ticketCost = Data.ArenaData.ColosseumData.ticketCost;
|
||||
int rupyCost = Data.ArenaData.ColosseumData.rupyCost;
|
||||
int crystalCost = Data.ArenaData.ColosseumData.crystalCost;
|
||||
SystemText systemText = Data.SystemText;
|
||||
if (_ticketNum != null)
|
||||
{
|
||||
_ticketNum.text = PlayerStaticData.UserColosseumTicketNum.ToString();
|
||||
_ticketCost.text = systemText.Get("Arena_0045", ticketCost.ToString());
|
||||
}
|
||||
if (_rupyNum != null)
|
||||
{
|
||||
_rupyNum.text = PlayerStaticData.UserRupyCount.ToString();
|
||||
_rupyCost.text = systemText.Get("Arena_0047", rupyCost.ToString());
|
||||
}
|
||||
if (_crystalNum != null)
|
||||
{
|
||||
_crystalNum.text = PlayerStaticData.UserCrystalCount.ToString();
|
||||
_crystalCost.text = systemText.Get("Arena_0046", crystalCost.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user