namespace KYFramework
{
public static class TimeHelper
{
public const long OneDay = 86400000;
public const long Hour = 3600000;
public const long Minute = 60000;
///
/// 客户端时间
///
///
public static long ClientNow()
{
return Game.Scene.GetComponent().ClientNow();
}
public static DateTime DateTimeNow()
{
return DateTime.Now;
}
public static long ServerNow()
{
return Game.Scene.GetComponent().ServerNow();
}
public static long ServerFrameTime()
{
return Game.Scene.GetComponent().ServerFrameTime();
}
public static long ClientFrameTime()
{
return Game.Scene.GetComponent().ClientFrameTime();
}
}
}