37 lines
825 B
C#
37 lines
825 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
|
|
public class GameLogInOutBusinessLog : ILogInvokerEx
|
|
{
|
|
private DateTime m_log_time = DateTimeHelper.MinTime;
|
|
|
|
private GameLogInOutLogInfo m_data_to_log;
|
|
|
|
public GameLogInOutBusinessLog(LogAction logAction, DateTime logTime, GameLogInOutLogInfo logParam)
|
|
: base(LogDomainType.GameLogInOut, logAction)
|
|
{
|
|
m_log_time = logTime;
|
|
m_data_to_log = logParam;
|
|
}
|
|
|
|
public override bool hasLog()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void fillup(ref BusinessLog.LogBody body)
|
|
{
|
|
body.append(new GameLogInOutLogInfo(this, m_log_time, m_data_to_log));
|
|
}
|
|
} |