31 lines
921 B
C#
31 lines
921 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
using TcgEngine;
|
|
using TcgEngine.Gameplay;
|
|
using TcgEngine.Client;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TcgEngine.Gameplay
|
|
{
|
|
/// <summary>
|
|
/// 任务管理器,负责任务的分配、进度追踪和奖励发放等功能
|
|
/// </summary>
|
|
public class TaskManagerGx : MonoBehaviour
|
|
{
|
|
public List<PlayerTask> PlayerTasks = new List<PlayerTask>();
|
|
|
|
public async void SavePayerData()
|
|
{
|
|
PlayerTasksResponse saveData = new PlayerTasksResponse();
|
|
// PlayerTaskResponse[] taskResponses = new PlayerTaskResponse[ taskResponses.taskId="login_task_1",
|
|
// assignedTime=1757067900,
|
|
// taskResponses.expireTime=1757154300,
|
|
// taskResponses.status=2,
|
|
// taskResponses.progress=1]
|
|
;
|
|
|
|
}
|
|
}
|
|
} |