修正任务时间转换
This commit is contained in:
@@ -229,8 +229,8 @@ namespace TcgEngine
|
||||
public struct PlayerTaskResponse
|
||||
{
|
||||
public string taskId;
|
||||
public long assignedTime;
|
||||
public long expireTime;
|
||||
public string assignedTime;
|
||||
public string expireTime;
|
||||
public int status;
|
||||
public int progress;
|
||||
}
|
||||
@@ -239,14 +239,14 @@ namespace TcgEngine
|
||||
public struct PlayerTasksResponse
|
||||
{
|
||||
public PlayerTaskResponse[] tasks;
|
||||
public long lastDailyTaskAssigned;
|
||||
public string lastDailyTaskAssigned;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public struct PlayerTaskSaveRequest
|
||||
{
|
||||
public PlayerTaskResponse[] tasks;
|
||||
public long lastDailyTaskAssigned;
|
||||
public string lastDailyTaskAssigned;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -62,8 +62,6 @@ namespace TcgEngine
|
||||
{
|
||||
int currentLeve = GetLevel();
|
||||
int baseXp = (currentLeve - 1) * 1000;
|
||||
Debug.LogError(xp);
|
||||
// 距离下一级还需多少经验值
|
||||
int xpIntoCurrentLevel = xp - baseXp;
|
||||
return (float)xpIntoCurrentLevel / 1000f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user