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