초기커밋
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user