초기커밋
This commit is contained in:
31
ServerCommon/BusinessLog/LogInvoker/MailBusinessLog.cs
Normal file
31
ServerCommon/BusinessLog/LogInvoker/MailBusinessLog.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class MailBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private MailLogData m_data_to_log;
|
||||
public MailBusinessLog(MailLogData log_data_param)
|
||||
: base(LogDomainType.Mail)
|
||||
{
|
||||
m_data_to_log = log_data_param;
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(new MailLogData(this, m_data_to_log));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user