44 lines
997 B
C#
44 lines
997 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 CharacterCreateBusinessLog : ILogInvokerEx
|
|
{
|
|
private CharacterCreateLogInfo m_character_create_log_info;
|
|
|
|
public CharacterCreateBusinessLog(LogAction logAction, DateTime createdTime, CharacterCreateLogInfo logInfo)
|
|
: base(LogDomainType.CharacterCreate, logAction)
|
|
{
|
|
ArgumentNullReferenceCheckHelper.throwIfNull(logInfo, () => $"logInfo is null !!!");
|
|
|
|
m_character_create_log_info = new CharacterCreateLogInfo(this, createdTime, logInfo);
|
|
}
|
|
|
|
public override bool hasLog()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void fillup(ref BusinessLog.LogBody body)
|
|
{
|
|
body.append(m_character_create_log_info);
|
|
}
|
|
|
|
public CharacterCreateLogInfo getInfo()
|
|
{
|
|
return m_character_create_log_info;
|
|
}
|
|
}
|