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

34 lines
791 B
C#

using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public class BattleObjectStateUpdateBusinessLog : ILogInvokerEx
{
private BattleObjectStateUpdateLogInfo m_info;
public BattleObjectStateUpdateBusinessLog(string roomId, List<BattleObjectLogInfo> infos) : base(LogDomainType.BattleObjectStateUpdate)
{
m_info = new();
m_info.m_room_id = roomId;
m_info.m_infos.AddRange(infos);
}
public override bool hasLog()
{
return true;
}
protected override void fillup(ref BusinessLog.LogBody body)
{
body.append(new BattleObjectStateUpdateLogInfo(this, m_info));
}
}