Files
ft/Client/Assets/Scripts/UI/AdWheel/EventAdWheelRewardAdapter.cs
2026-06-29 21:18:33 +08:00

27 lines
850 B
C#

using cfg;
using UI.Wheel;
namespace Assets.Scripts.UI.AdWheel
{
public class EventAdWheelRewardAdapter : IWheelReward
{
private readonly EventAdWheelReward _adReward;
private float _inflationRate = 0;
public EventAdWheelRewardAdapter(EventAdWheelReward adReward, float inflationRate)
{
_adReward = adReward;
_inflationRate = inflationRate;
}
public int Index => _adReward.Index;
public int Weight => _adReward.Weight;
public int Quality => _adReward.Quality;
public int DropID => _adReward.DropID;
public string Fx => _adReward.Fx;
public string Audio => _adReward.Audio;
public int LeftWeight => _adReward.LeftWeight;
public int RoundLimit => 999;
public float InflationRate => _inflationRate;
}
}