초기커밋
This commit is contained in:
31
GameServer/Contents/Friend/Log/AddFriendBusinessLog.cs
Normal file
31
GameServer/Contents/Friend/Log/AddFriendBusinessLog.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class AddFriendBusinessLog : ILogInvokerEx
|
||||
{
|
||||
FriendLogInfo m_info;
|
||||
|
||||
public AddFriendBusinessLog(string myGuid, string friendGuid)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new FriendLogInfo(this, myGuid, friendGuid);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class CancelFriendRequestBusinessLog : ILogInvokerEx
|
||||
{
|
||||
FriendLogInfo m_info;
|
||||
public CancelFriendRequestBusinessLog(string myGuid, string friendGuid)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new FriendLogInfo(this, myGuid, friendGuid);
|
||||
}
|
||||
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
|
||||
35
GameServer/Contents/Friend/Log/DeleteFriendBusinessLog.cs
Normal file
35
GameServer/Contents/Friend/Log/DeleteFriendBusinessLog.cs
Normal file
@@ -0,0 +1,35 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class DeleteFriendBusinessLog : ILogInvokerEx
|
||||
{
|
||||
FriendLogInfo m_info;
|
||||
|
||||
public DeleteFriendBusinessLog(string myGuid, string friendGuid)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new FriendLogInfo(this, myGuid, friendGuid);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class InviteFriendToMyhomeBusinessLog : ILogInvokerEx
|
||||
{
|
||||
InviteFriendToMyhomeLogInfo m_info;
|
||||
public InviteFriendToMyhomeBusinessLog(string myGuid, Dictionary<string, string> inviteResult)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new InviteFriendToMyhomeLogInfo(this, myGuid, inviteResult);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class KickFriendFromMyhomeBusinessLog : ILogInvokerEx
|
||||
{
|
||||
KickFriendFromMyhomeLogInfo m_info;
|
||||
|
||||
public KickFriendFromMyhomeBusinessLog(KickFriendResult kickFriendResult) : base(LogDomainType.Friend)
|
||||
{
|
||||
|
||||
m_info = new KickFriendFromMyhomeLogInfo(this, kickFriendResult.getNeedNotiMembers(), kickFriendResult.getErrorMembers());
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class RefuseFriendRequestBusinessLog : ILogInvokerEx
|
||||
{
|
||||
FriendLogInfo m_info;
|
||||
public RefuseFriendRequestBusinessLog(string myGuid, string friendGuid)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new FriendLogInfo(this, myGuid, friendGuid);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
|
||||
public class ReplyInviteMyhomeBuisinessLog : ILogInvokerEx
|
||||
{
|
||||
ReplyInviteMyhomeLogInfo m_info;
|
||||
|
||||
public ReplyInviteMyhomeBuisinessLog(string myGuid, string friendGuid, Int32 replyValue)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new ReplyInviteMyhomeLogInfo(this, myGuid, friendGuid, replyValue);
|
||||
}
|
||||
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.WellKnownTypes;
|
||||
|
||||
|
||||
using ServerCore;
|
||||
using ServerBase;
|
||||
using ServerCommon;
|
||||
using ServerCommon.BusinessLogDomain;
|
||||
using MetaAssets;
|
||||
|
||||
|
||||
namespace GameServer;
|
||||
|
||||
public class SendFriendRequestBusinessLog : ILogInvokerEx
|
||||
{
|
||||
FriendLogInfo m_info;
|
||||
public SendFriendRequestBusinessLog(string myGuid, string friendGuid)
|
||||
: base(LogDomainType.Friend)
|
||||
{
|
||||
m_info = new FriendLogInfo(this, myGuid, friendGuid);
|
||||
}
|
||||
|
||||
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