任务系统一半多,商城筛选功能,一些细节和免费包
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[Serializable]
|
||||
public class DailyTaskRuntimeEntry
|
||||
{
|
||||
public string taskID;
|
||||
public float progress;
|
||||
public bool isCompleted;
|
||||
public bool isClaimed;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DailyTaskSaveData
|
||||
{
|
||||
public string dateKey;
|
||||
public int refreshUsedCount;
|
||||
public List<DailyTaskRuntimeEntry> activeTasks = new List<DailyTaskRuntimeEntry>();
|
||||
public List<DailyTaskAccumulatedProgress> accumulatedProgress = new List<DailyTaskAccumulatedProgress>();
|
||||
}
|
||||
|
||||
public struct DailyTaskEventData
|
||||
{
|
||||
public userTasksPool.TaskType taskType;
|
||||
public float amount;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DailyTaskAccumulatedProgress
|
||||
{
|
||||
public int taskType;
|
||||
public float progress;
|
||||
}
|
||||
|
||||
public sealed class DailyTaskViewData
|
||||
{
|
||||
public userTasksPool.TaskDefinition definition;
|
||||
public DailyTaskRuntimeEntry runtimeEntry;
|
||||
}
|
||||
Reference in New Issue
Block a user