초기커밋
This commit is contained in:
40
ServerCommon/1. Define/BusinessLog/Domain/CraftRecipeData.cs
Normal file
40
ServerCommon/1. Define/BusinessLog/Domain/CraftRecipeData.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using Newtonsoft.Json;
|
||||
|
||||
|
||||
using ServerCore; using ServerBase;
|
||||
|
||||
|
||||
|
||||
using META_ID = System.UInt32;
|
||||
|
||||
|
||||
|
||||
namespace ServerCommon.BusinessLogDomain;
|
||||
|
||||
public class CraftRecipeLogData : ILogInvoker.IInfo
|
||||
{
|
||||
public CraftRecipeLogData()
|
||||
: base()
|
||||
{ }
|
||||
|
||||
[JsonProperty]
|
||||
public META_ID recipe_meta_id { get; set; } = 0;
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 생성용 객체 정의
|
||||
//=====================================================================================
|
||||
|
||||
public void setItemInfo(CraftRecipeLogData logData)
|
||||
{
|
||||
recipe_meta_id = logData.recipe_meta_id;
|
||||
}
|
||||
|
||||
//=====================================================================================
|
||||
// 로그 출력용 객체 정의
|
||||
//=====================================================================================
|
||||
public CraftRecipeLogData(ILogInvoker parent, CraftRecipeLogData itemParam)
|
||||
: base(parent)
|
||||
{
|
||||
setItemInfo(itemParam);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user