Files
caliverse_server/ServerCommon/BusinessLog/LogInvoker/PartyBusinessLog.cs
2025-05-01 07:20:41 +09:00

34 lines
689 B
C#

using ServerCore;
using ServerBase;
namespace ServerCommon.BusinessLogDomain;
public class PartyBusinessLog : ILogInvokerEx
{
private PartyLogData m_data_to_log;
public PartyBusinessLog(PartyLogData logParam)
: base(LogDomainType.Party)
{
m_data_to_log = logParam;
}
public PartyBusinessLog(LogAction logAction, PartyLogData logParam)
: base(LogDomainType.Party, logAction)
{
m_data_to_log = logParam;
}
public override bool hasLog()
{
return true;
}
protected override void fillup(ref BusinessLog.LogBody body)
{
body.append(new PartyLogData(this, m_data_to_log));
}
}