27 lines
850 B
C#
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;
|
|
}
|
|
}
|