초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
using ServerCommon.BusinessLogDomain;
using ServerCommon;
using ServerCore; using ServerBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GameServer
{
internal static class RentalBusinessLogHelper
{
public static RentalLogInfo toRentalLogInfo(this RentFloorRequestInfo rentFloorRequestInfo)
{
var rental_log_info = new RentalLogInfo();
rental_log_info.setRentalInfo(rentFloorRequestInfo);
return rental_log_info;
}
public static void setRentalInfo(this RentalLogInfo log, RentFloorRequestInfo rentFloorRequestInfo)
{
log.setLogProperty(
rentFloorRequestInfo.LandId,
rentFloorRequestInfo.BuildingId,
rentFloorRequestInfo.Floor,
rentFloorRequestInfo.OwnerGuid,
rentFloorRequestInfo.MyhomeGuid,
rentFloorRequestInfo.RentalPeriod,
rentFloorRequestInfo.RentalStartTime.ToDateTime(),
rentFloorRequestInfo.RentalFinishTime.ToDateTime()
);
}
}
}