초기커밋
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user