25 lines
777 B
C#
25 lines
777 B
C#
using cfg;
|
|
|
|
namespace Capsule.Reward
|
|
{
|
|
public class EventToyMachineRewardAdapter : ICapsuleReward
|
|
{
|
|
private readonly EventToyMachineReward _reward;
|
|
|
|
public EventToyMachineRewardAdapter(EventToyMachineReward 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 => string.Empty;
|
|
public string Audio => string.Empty;
|
|
public int LeftWeight => _reward.Weight;
|
|
public int RoundLimit => _reward.RoundLimit;
|
|
public float InflationRate { get; }
|
|
}
|
|
} |