20 lines
No EOL
437 B
C#
20 lines
No EOL
437 B
C#
using System;
|
|
|
|
namespace Server.Engines.VeteranRewards
|
|
{
|
|
public class RewardList
|
|
{
|
|
public RewardList(TimeSpan interval, int index, RewardEntry[] entries)
|
|
{
|
|
Age = TimeSpan.FromDays(interval.TotalDays * index);
|
|
Entries = entries;
|
|
|
|
for (int i = 0; i < entries.Length; ++i)
|
|
entries[i].List = this;
|
|
}
|
|
|
|
public TimeSpan Age{ get; }
|
|
|
|
public RewardEntry[] Entries{ get; }
|
|
}
|
|
} |