37 lines
696 B
C#
37 lines
696 B
C#
using Google.Protobuf;
|
|
using Google.Protobuf.WellKnownTypes;
|
|
|
|
|
|
using ServerCore;
|
|
using ServerBase;
|
|
using ServerCommon;
|
|
using ServerCommon.BusinessLogDomain;
|
|
using MetaAssets;
|
|
|
|
|
|
namespace GameServer;
|
|
|
|
public class UserBlockBusinessLog : ILogInvokerEx
|
|
{
|
|
UserBlockLogInfo m_info;
|
|
|
|
public UserBlockBusinessLog(string blockerGuid, string blockedGuid, LogSubCategoryType type)
|
|
: base(LogDomainType.UserBlock)
|
|
{
|
|
m_info = new UserBlockLogInfo(this, blockerGuid, blockedGuid, type);
|
|
}
|
|
|
|
public override bool hasLog()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
protected override void fillup(ref BusinessLog.LogBody body)
|
|
{
|
|
body.append(m_info);
|
|
}
|
|
}
|
|
|
|
|
|
|