초기커밋

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,52 @@
using MetaAssets;
using Newtonsoft.Json;
using ServerCore;
using ServerBase;
namespace ServerCommon.BusinessLogDomain;
public class BattleObjectLogInfo
{
[JsonProperty("anchor_guid")]
public string m_anchor_guid { get; set; } = string.Empty;
[JsonProperty("battle_object_type")]
public EBattleObjectType m_battle_object_type { get; set; } = EBattleObjectType.None;
[JsonProperty("active_time")]
public DateTime m_active_time { get; set; } = DateTimeHelper.Current;
}
public class BattleObjectStateUpdateLogInfo : ILogInvoker.IInfo
{
[JsonProperty("room_id")]
public string m_room_id { get; set; } = string.Empty;
[JsonProperty("object_infos")]
public List<BattleObjectLogInfo> m_infos { get; set; } = new();
public BattleObjectStateUpdateLogInfo()
{
}
public BattleObjectStateUpdateLogInfo(ILogInvoker parent, BattleObjectStateUpdateLogInfo logInfo) : base(parent)
{
if (null != logInfo)
{
setLogInfo(logInfo);
}
}
private void setLogInfo(BattleObjectStateUpdateLogInfo logInfo)
{
m_room_id = logInfo.m_room_id;
m_infos = logInfo.m_infos;
}
}