Initial commit

This commit is contained in:
Ubuntu
2026-06-19 00:00:16 -04:00
commit 73701ff86e
7100 changed files with 1952988 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
using System;
namespace Server.Factions
{
public class SilverGivenEntry
{
public static readonly TimeSpan ExpirePeriod = TimeSpan.FromHours(3.0);
private readonly Mobile m_GivenTo;
private readonly DateTime m_TimeOfGift;
public SilverGivenEntry(Mobile givenTo)
{
this.m_GivenTo = givenTo;
this.m_TimeOfGift = DateTime.UtcNow;
}
public Mobile GivenTo
{
get
{
return this.m_GivenTo;
}
}
public DateTime TimeOfGift
{
get
{
return this.m_TimeOfGift;
}
}
public bool IsExpired
{
get
{
return (this.m_TimeOfGift + ExpirePeriod) < DateTime.UtcNow;
}
}
}
}