초기커밋
This commit is contained in:
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