Files
SVSimServer/SVSim.BattleEngine/Engine/Wizard/ChatReplayListDialogContent.cs
gamer147 0455ff649e 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.
2026-06-05 20:38:56 -04:00

35 lines
879 B
C#

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();
}));
}
}