29 lines
866 B
C#
29 lines
866 B
C#
using cfg;
|
|
using UI.Wheel;
|
|
|
|
namespace EventBossFight
|
|
{
|
|
public class EventBossFightWheelRewardAdapter : IWheelReward
|
|
{
|
|
private readonly EventBossFightSpinPoints _reward;
|
|
|
|
public EventBossFightWheelRewardAdapter(EventBossFightSpinPoints reward, float inflationRate)
|
|
{
|
|
_reward = reward;
|
|
InflationRate = inflationRate;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 对应ID EventBossFightSpinPoints ID
|
|
/// </summary>
|
|
public int Index => _reward.ID;
|
|
public int Weight => _reward.Weight;
|
|
public int Quality => _reward.Quality;
|
|
public int DropID => 0;
|
|
public string Fx => _reward.Fx;
|
|
public string Audio => _reward.Audio;
|
|
public int LeftWeight => _reward.LeftWeight;
|
|
public int RoundLimit => 0;
|
|
public float InflationRate { get; }
|
|
}
|
|
} |