초기커밋
This commit is contained in:
34
ServerCommon/BusinessLog/LogInvoker/PartyBusinessLog.cs
Normal file
34
ServerCommon/BusinessLog/LogInvoker/PartyBusinessLog.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user