using System; using System.Collections.Generic; using UnityEngine; namespace GameWrapper.UI.Common { public interface ICurrencyList { void SetInfo(GameObject root, List currencyIDList, List showPlusItemList, UI_CurrencyList.NumberType type, bool defaultShow = false); void Refresh(GameObject root); void Dispose(GameObject root); /// /// 为指定 itemID 设置自定义 plus 按钒回调(并强制显示 plus 按钒) /// void SetCustomPlusCallback(GameObject root, int itemID, Action callback); } public static class CurrencyServiceHandle { public static ICurrencyList CurrencyService { get; set; } } }