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

26 lines
785 B
C#

using cfg;
using UI.Wheel;
namespace UI.HookWheel
{
public class EventHookWheelRewardAdapter : IWheelReward
{
private readonly EventHookWheelReward _reward;
public EventHookWheelRewardAdapter(EventHookWheelReward reward, float inflationRate)
{
_reward = reward;
InflationRate = inflationRate;
}
public int Index => _reward.Index;
public int Weight => _reward.Weight;
public int Quality => _reward.Quality;
public int DropID => _reward.DropID;
public string Fx => _reward.Fx;
public string Audio => _reward.Audio;
public int LeftWeight => _reward.LeftWeight;
public int RoundLimit => _reward.RoundLimit;
public float InflationRate { get; }
}
}