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