Files
caliverse_server/GameServer/Contents/GameMode/Mode-Battle/Log/BattlePodCombatRewardBusinessLog.cs
2025-05-01 07:20:41 +09:00

32 lines
936 B
C#

using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public class BattlePodCombatRewardBusinessLog : ILogInvokerEx
{
private BattlePodCombatRewardLogInfo m_info;
public BattlePodCombatRewardBusinessLog(string roomId, int round, BattleRoundStateType roundSate
, string rewardUserGuid, string rewardUserNickname
, int chargedStep, int rewardedStep, List<MetaAssets.Reward> rewards) : base(LogDomainType.BattleReward)
{
m_info = new BattlePodCombatRewardLogInfo(this, roomId, round, roundSate, rewardUserGuid, rewardUserNickname, chargedStep, rewardedStep, rewards);
}
public override bool hasLog()
{
return true;
}
protected override void fillup(ref BusinessLog.LogBody body)
{
body.append(m_info);
}
}