Files
caliverse_server/GameServer/Contents/TaskReservation/Log/TaskReservationBusinessLogHelper.cs
2025-05-01 07:20:41 +09:00

31 lines
948 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
namespace GameServer
{
static public class TaskReservationBusinessLogHelper
{
static public TaskReservationLogData toLogInfo(TaskReservationAttribute task_reservation_attribute)
{
var taskReservation = new TaskReservationLogData();
taskReservation.setInfo(task_reservation_attribute);
return taskReservation;
}
static public void setInfo(this TaskReservationLogData logData, TaskReservationAttribute task_reservation_attribute)
{
logData.ReservationGuid = task_reservation_attribute.ReservationGuid;
logData.ReservationType = task_reservation_attribute.ReservationType;
logData.JsonValue = task_reservation_attribute.JsonValue;
}
}
}