using Google.Protobuf; using Google.Protobuf.WellKnownTypes; using ServerCore; using ServerBase; using ServerCommon; using ServerCommon.BusinessLogDomain; using MetaAssets; namespace GameServer; public class QueatDailyCheckBusinessLog : ILogInvokerEx { private List m_info; public QueatDailyCheckBusinessLog(Dictionary infos) : base(LogDomainType.QuestMain) { m_info = new(); foreach (var info in infos) { QuestDailyCheckLogInfo log_info = new(); log_info.period_type = info.Key; foreach (var sended_quest in info.Value.m_sended_quest) { log_info.sended_quest_check.TryAdd(sended_quest.Key, sended_quest.Value); } } } public override bool hasLog() { return true; } protected override void fillup(ref BusinessLog.LogBody body) { foreach(var info in m_info) { body.append(info); } } }