34 lines
689 B
C#
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));
|
|
}
|
|
} |