天梯UI补充
This commit is contained in:
31
Assets/TcgEngine/Scripts/GameLogic/TaskManagerGx.cs
Normal file
31
Assets/TcgEngine/Scripts/GameLogic/TaskManagerGx.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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]
|
||||
;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user