26 lines
689 B
C#
26 lines
689 B
C#
using ServerBase;
|
|
using ServerCommon;
|
|
using ServerCommon.BusinessLogDomain;
|
|
|
|
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));
|
|
}
|
|
} |