초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
using System.Collections.Concurrent;
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public class UgqDailyRewardBusinessLog : ILogInvokerEx
{
private UgqDailyRewardLogInfo m_info;
public UgqDailyRewardBusinessLog(DateTime nextRefreshTime, ConcurrentDictionary<UgqGradeType, Int32> ugqDailyRewardCount)
: base(LogDomainType.QuestUgq)
{
m_info = new();
m_info.next_refresh_time = nextRefreshTime;
foreach (var reward_count in ugqDailyRewardCount)
{
m_info.ugq_daily_reward_count.Add(reward_count.Key, reward_count.Value);
}
}
public override bool hasLog()
{
return true;
}
protected override void fillup(ref BusinessLog.LogBody body)
{
body.append(m_info);
}
}