초기커밋
This commit is contained in:
36
GameServer/Contents/UserBlock/Log/UserBlockBusinessLog.cs
Normal file
36
GameServer/Contents/UserBlock/Log/UserBlockBusinessLog.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user