Files
abysmal-isle/Scripts/Services/VeteranRewards/RewardList.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

33 lines
760 B
C#

using System;
namespace Server.Engines.VeteranRewards
{
public class RewardList
{
private readonly TimeSpan m_Age;
private readonly RewardEntry[] m_Entries;
public RewardList(TimeSpan interval, int index, RewardEntry[] entries)
{
this.m_Age = TimeSpan.FromDays(interval.TotalDays * index);
this.m_Entries = entries;
for (int i = 0; i < entries.Length; ++i)
entries[i].List = this;
}
public TimeSpan Age
{
get
{
return this.m_Age;
}
}
public RewardEntry[] Entries
{
get
{
return this.m_Entries;
}
}
}
}