using XGame.Framework.Data;
namespace FL.Data
{
///
/// 支付、广告等数据
///
public class PaymentData : DataSingleton
{
public GoodsOrder goodsOrder;
public EPayActionType _action;
///
/// 是否正在支付/广告
///
public bool IsBusy => _action != EPayActionType.None;
///
/// 当前支付行为,客户端同一时间只能做一件事
///
public EPayActionType Action => _action;
public void SetAction(EPayActionType action)
{
_action = action;
}
}
}