초기커밋

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,116 @@
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 USER_GUID = System.String;
using ANCHOR_META_GUID = System.String;
using LOCATION_UNIQUE_ID = System.String;
using FARMING_ENTITY_GUID = System.String;
using META_TYPE = System.String;
namespace ServerCommon.BusinessLogDomain;
public class FarmingRewardLogInfo : ILogInvoker.IInfo
{
[JsonProperty]
public ANCHOR_META_GUID AnchorMetaGuid { get; set; } = string.Empty;
[JsonProperty]
public string FarmingPK { get; set; } = string.Empty;
[JsonProperty]
public string FarmingSK { get; set; } = string.Empty;
[JsonProperty]
public LOCATION_UNIQUE_ID LocationUniqueId { get; set; } = string.Empty;
[JsonProperty]
public META_ID FarmingPropMetaId { get; set; } = 0;
[JsonProperty]
public USER_GUID UserGuid { get; set; } = string.Empty;
[JsonProperty]
public FarmingSummonedEntityType FarmingSummonedEntityType { get; set; } = FarmingSummonedEntityType.None;
[JsonProperty]
public FARMING_ENTITY_GUID FarmingEntityGuid { get; set; } = string.Empty;
[JsonProperty]
public META_TYPE RewardMetaType { get; set; } = string.Empty;
[JsonProperty]
public META_ID RewardMetaId { get; set; } = 0;
//=====================================================================================
// 로그 생성용 객체 정의
//=====================================================================================
public FarmingRewardLogInfo()
: base()
{
}
public void setInfo(FarmingRewardLogInfo logInfo)
{
AnchorMetaGuid = logInfo.AnchorMetaGuid;
FarmingPK = logInfo.FarmingPK;
FarmingSK = logInfo.FarmingSK;
LocationUniqueId = logInfo.LocationUniqueId;
FarmingPropMetaId = logInfo.FarmingPropMetaId;
UserGuid = logInfo.UserGuid;
FarmingSummonedEntityType = logInfo.FarmingSummonedEntityType;
FarmingEntityGuid = logInfo.FarmingEntityGuid;
RewardMetaType = logInfo.RewardMetaType;
RewardMetaId = logInfo.RewardMetaId;
}
//=====================================================================================
// 로그 출력용 객체 정의
//=====================================================================================
public FarmingRewardLogInfo(ILogInvoker parent, FarmingRewardLogInfo logInfo)
: base(parent)
{
setInfo(logInfo);
}
//=====================================================================================
// 로그 설정용 함수
//=====================================================================================
public void setLogProperty( ANCHOR_META_GUID anchorMetaGuid
, string farmingPK, string farmingSK
, LOCATION_UNIQUE_ID locationUniqueId
, META_ID farmingPropMetaId
, USER_GUID userGuid
, FarmingSummonedEntityType farmingSummonedEntityType, FARMING_ENTITY_GUID farmingEntityGuid
, META_TYPE rewardMetaType, META_ID rewardMetaId )
{
AnchorMetaGuid = anchorMetaGuid;
FarmingPK = farmingPK;
FarmingSK = farmingSK;
LocationUniqueId = locationUniqueId;
FarmingPropMetaId = farmingPropMetaId;
UserGuid = userGuid;
FarmingSummonedEntityType = farmingSummonedEntityType;
FarmingEntityGuid = farmingEntityGuid;
RewardMetaType = rewardMetaType;
RewardMetaId = rewardMetaId;
}
}