51 lines
1.0 KiB
C#
51 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
using ServerCommon;
|
|
|
|
|
|
using META_ID = System.UInt32;
|
|
using CHARACTER_GUID = System.String;
|
|
using META_TYPE = System.String;
|
|
|
|
|
|
namespace ServerCommon.BusinessLogDomain;
|
|
|
|
|
|
public class CharacterBusinessLog : ILogInvokerEx
|
|
{
|
|
private CharacterLogInfo m_character_log_info;
|
|
|
|
public CharacterBusinessLog(LogAction logAction, CharacterLogInfo logInfo)
|
|
: base(LogDomainType.Character, logAction)
|
|
{
|
|
ArgumentNullReferenceCheckHelper.throwIfNull(logInfo, () => $"logInfo is null !!!");
|
|
|
|
m_character_log_info = new CharacterLogInfo(this, logInfo);
|
|
}
|
|
|
|
public override bool hasLog()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void fillup(ref BusinessLog.LogBody body)
|
|
{
|
|
body.append(m_character_log_info);
|
|
}
|
|
|
|
public CharacterLogInfo getInfo()
|
|
{
|
|
return m_character_log_info;
|
|
}
|
|
}
|