초기커밋
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
|
||||
|
||||
using META_ID = System.UInt32;
|
||||
using USER_GUID = System.String;
|
||||
using META_TYPE = System.String;
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class UserInitialBusinessLog : ILogInvokerEx
|
||||
{
|
||||
private readonly UserInitialLogInfo m_user_initial_info;
|
||||
|
||||
public UserInitialBusinessLog(LogAction logAction, UserInitialLogInfo logInfo)
|
||||
: base(LogDomainType.UserInitial, logAction)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(logInfo, $"logInfo is null !!!");
|
||||
|
||||
m_user_initial_info = new UserInitialLogInfo(this, logInfo);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_user_initial_info);
|
||||
}
|
||||
|
||||
public UserInitialLogInfo getInfo()
|
||||
{
|
||||
return m_user_initial_info;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user