Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
33
Scripts/Services/VeteranRewards/RewardList.cs
Normal file
33
Scripts/Services/VeteranRewards/RewardList.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user