mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-21 20:25:51 +12:00
Change Util.cs to Helper.cs, and move ThreadSafeList to HISP.Util namespace.
This commit is contained in:
parent
c36eda289a
commit
825d3b4740
37 changed files with 197 additions and 169 deletions
|
@ -2,6 +2,7 @@
|
|||
using HISP.Game.Items;
|
||||
using HISP.Player;
|
||||
using HISP.Server;
|
||||
using HISP.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
@ -134,7 +135,7 @@ namespace HISP.Game
|
|||
return ownerId;
|
||||
|
||||
int subExp = Database.GetUserSubscriptionExpireDate(ownerId);
|
||||
DateTime expTime = Util.UnixTimeStampToDateTime(subExp);
|
||||
DateTime expTime = Helper.UnixTimeStampToDateTime(subExp);
|
||||
if ((DateTime.UtcNow.Date - expTime.Date).Days >= 30)
|
||||
{
|
||||
int price = GetSellPrice();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue