You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
namespace ET |
|
{ |
|
public static class GameUtil |
|
{ |
|
// 传入真实时间,转化为游戏的天数 |
|
public static int GetDaysOfTime(float time) |
|
{ |
|
return (int)time; |
|
} |
|
|
|
public static bool IsErrorSuc(int err) |
|
{ |
|
return err == ErrorCode.ERR_Success; |
|
} |
|
} |
|
} |