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:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using Cute;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Wizard;
|
||||
|
||||
public class ChatReplayListDialogContent : MonoBehaviour
|
||||
{
|
||||
[SerializeField]
|
||||
private ReplayContentView _prefabReplayInfoView;
|
||||
|
||||
[SerializeField]
|
||||
private GameObject _rootReplayInfoView;
|
||||
|
||||
[SerializeField]
|
||||
private UIButton _btnReplaySend;
|
||||
|
||||
private ReplayContentView _replayInfoView;
|
||||
|
||||
public void SetData(ReplayInfoItem replayInfoItem, Action onClickReplaySend)
|
||||
{
|
||||
if (_replayInfoView == null)
|
||||
{
|
||||
_replayInfoView = NGUITools.AddChild(_rootReplayInfoView, _prefabReplayInfoView.gameObject).GetComponent<ReplayContentView>();
|
||||
}
|
||||
_replayInfoView.SetData(replayInfoItem);
|
||||
_btnReplaySend.onClick.Clear();
|
||||
_btnReplaySend.onClick.Add(new EventDelegate(delegate
|
||||
{
|
||||
GameMgr.GetIns().GetSoundMgr().PlaySe(Se.TYPE.SYS_BTN_DECIDE);
|
||||
onClickReplaySend.Call();
|
||||
}));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user