초기커밋

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,80 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using ServerCore; using ServerBase;
using META_ID = System.UInt32;
using CHARACTER_GUID = System.String;
using META_TYPE = System.String;
namespace ServerCommon.BusinessLogDomain;
public class CharacterLogInfo : ILogInvoker.IInfo
{
[JsonProperty]
public CHARACTER_GUID CharacterGuid { get; set; } = string.Empty;
[JsonProperty]
public string CharacterPK { get; set; } = string.Empty;
[JsonProperty]
public string CharacterSK { get; set; } = string.Empty;
[JsonProperty]
public List<int> CustomAppearance { get; set; } = new();
//=====================================================================================
// 로그 생성용 객체 정의
//=====================================================================================
public CharacterLogInfo()
: base()
{
}
public void setInfo(CharacterLogInfo logInfo)
{
ArgumentNullReferenceCheckHelper.throwIfNull(logInfo, () => $"logInfo is null !!!");
CharacterGuid = logInfo.CharacterGuid;
CharacterPK = logInfo.CharacterPK;
CharacterSK = logInfo.CharacterSK;
CustomAppearance = logInfo.CustomAppearance;
}
//=====================================================================================
// 로그 출력용 객체 정의
//=====================================================================================
public CharacterLogInfo(ILogInvoker parent, CharacterLogInfo logParam)
: base(parent)
{
if (null != logParam)
{
setInfo(logParam);
}
}
//=====================================================================================
// 로그 설정용 함수
//=====================================================================================
public void setLogProperty( CHARACTER_GUID charGuid
, string charPK, string charSK
, List<int> customAppearance )
{
CharacterGuid = charGuid;
CharacterPK = charPK;
CharacterSK = charSK;
CustomAppearance = customAppearance;
}
}