34 lines
791 B
C#
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));
|
|
}
|
|
} |