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