초기커밋
This commit is contained in:
36
GameServer/Contents/Claim/Log/CheatClaimResetBusinessLog.cs
Normal file
36
GameServer/Contents/Claim/Log/CheatClaimResetBusinessLog.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 CheatClaimResetBusinessLog : ILogInvokerEx
|
||||
{
|
||||
CheatClaimResetLogInfo m_info;
|
||||
|
||||
public CheatClaimResetBusinessLog(MetaAssets.ClaimType claimType, Int32 claimId, Int32 ActiveRewardIdx)
|
||||
: base(LogDomainType.ClaimReward)
|
||||
{
|
||||
m_info = CheatClaimResetLogInfo.creatCheatClaimResetLogInfo(this, claimType, claimId, ActiveRewardIdx);
|
||||
}
|
||||
|
||||
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 CheatClaimRewardableBusinessLog : ILogInvokerEx
|
||||
{
|
||||
CheatClaimRewardableLogInfo m_info;
|
||||
|
||||
public CheatClaimRewardableBusinessLog(MetaAssets.ClaimType claimType, Int32 claimId, Int32 ActiveRewardIdx)
|
||||
: base(LogDomainType.ClaimReward)
|
||||
{
|
||||
m_info = CheatClaimRewardableLogInfo.creatCheatClaimRewardableLogInfo(this, claimType, claimId, ActiveRewardIdx);
|
||||
}
|
||||
|
||||
public override bool hasLog()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected override void fillup(ref BusinessLog.LogBody body)
|
||||
{
|
||||
body.append(m_info);
|
||||
}
|
||||
}
|
||||
35
GameServer/Contents/Claim/Log/ClaimRewardBusinessLog.cs
Normal file
35
GameServer/Contents/Claim/Log/ClaimRewardBusinessLog.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 ClaimRewardBusinessLog : ILogInvokerEx
|
||||
{
|
||||
ClaimRewardLogInfo m_info;
|
||||
|
||||
public ClaimRewardBusinessLog(int claimId, int claimType, int rewardDataId)
|
||||
: base(LogDomainType.ClaimReward)
|
||||
{
|
||||
m_info = new ClaimRewardLogInfo(this, claimId, claimType, rewardDataId);
|
||||
}
|
||||
|
||||
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