초기커밋
This commit is contained in:
43
GameServer/z.Backup/MailBusinessLogHelper.cs
Normal file
43
GameServer/z.Backup/MailBusinessLogHelper.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
//using ServerCommon.BusinessLogDomain;
|
||||
//using ServerCommon;
|
||||
//using System;
|
||||
//using System.Collections.Generic;
|
||||
//using System.Linq;
|
||||
//using System.Text;
|
||||
//using System.Threading.Tasks;
|
||||
|
||||
//namespace GameServer
|
||||
//{
|
||||
// public static class MailBusinessLogHelper
|
||||
// {
|
||||
// public static MailLogData toMailLogInfo(MailEntity mailEntity)
|
||||
// {
|
||||
// var log_mail_info = new MailLogData();
|
||||
// log_mail_info.setMailLogInfo(mailEntity);
|
||||
// return log_mail_info;
|
||||
// }
|
||||
|
||||
// //=====================================================================================
|
||||
// // 비즈니스 로그 주요 함수
|
||||
// //=====================================================================================
|
||||
|
||||
// public static void setMailLogInfo(this MailLogData logData, MailEntity mailEntity)
|
||||
// {
|
||||
// logData.MailPK = MainDB.MakePK(mailEntity.entityType, mailEntity.PK_Guid);
|
||||
// logData.MailSK = MainDB.MakePK(mailEntity.entityType, mailEntity.SK_DateSequence);
|
||||
// logData.MailKey = mailEntity.Attr.mailKey;
|
||||
// logData.Title = mailEntity.Attr.title;
|
||||
// logData.Body = mailEntity.Attr.text;
|
||||
// logData.IsSystemMail = mailEntity.Attr.isSystemMail;
|
||||
// logData.IsReadMail = mailEntity.Attr.isRead;
|
||||
// logData.SenderNickname = mailEntity.Attr.senderNickName;
|
||||
// logData.SenderGuid = mailEntity.Attr.senderGuid;
|
||||
// logData.ReceiverNickname = mailEntity.Attr.receiverNickName;
|
||||
// logData.ReceiverGuid = mailEntity.Attr.receiverGuid;
|
||||
// foreach(var mailitem in mailEntity.Attr.ItemList)
|
||||
// {
|
||||
// logData.MailItems.Add(new() { ItemMID = mailitem.ItemId, ItemCount = mailitem.Count });
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
Reference in New Issue
Block a user