초기커밋
This commit is contained in:
26
ServerCommon/BusinessLog/LogInvoker/BuildingBusinessLog.cs
Normal file
26
ServerCommon/BusinessLog/LogInvoker/BuildingBusinessLog.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
using ServerBase;
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class BuildingBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private BuildingLogInfo m_data_to_log;
|
||||
|
||||
|
||||
public BuildingBusinessLog(BuildingLogInfo logParam)
|
||||
: base(LogDomainType.Building)
|
||||
{
|
||||
m_data_to_log = new BuildingLogInfo(this, logParam);
|
||||
}
|
||||
|
||||
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