초기커밋

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,77 @@
using Newtonsoft.Json;
using ServerCore; using ServerBase;
using META_ID = System.UInt32;
using ANCHOR_GUID = System.String;
using BEACON_GUID = System.String;
namespace ServerCommon.BusinessLogDomain;
public class BeaconShopLogData : ILogInvoker.IInfo
{
public BeaconShopLogData()
: base()
{ }
[JsonProperty]
public string ItemGuid { get; set; } = string.Empty;
[JsonProperty]
public int TagId { get; set; } = 0;
[JsonProperty]
public string BeaconGuid { get; set; } = string.Empty;
[JsonProperty]
public string BeaconNickName { get; set; } = string.Empty;
[JsonProperty]
public string BeaconTitle { get; set; } = string.Empty;
[JsonProperty]
public int BeaconBodyItemMetaId { get; set; } = 0;
[JsonProperty]
public double PriceForUnit { get; set; } = 0;
[JsonProperty]
public int Amount { get; set; } = 0;
[JsonProperty]
public string OwnerGuid { get; set; } = string.Empty;
[JsonProperty]
public string OwnerNickName { get; set; } = string.Empty;
[JsonProperty]
public string BeaconMyHomeGuid { get; set; } = string.Empty;
[JsonProperty]
public DateTime SellingFinishTime { get; set; } = new();
[JsonProperty]
public string BuyerGuid { get; set; } = string.Empty;
//=====================================================================================
// 로그 생성용 객체 정의
//=====================================================================================
public void setItemInfo(BeaconShopLogData logData)
{
TagId = logData.TagId;
BeaconGuid = logData.BeaconGuid;
BeaconNickName = logData.BeaconNickName;
BeaconTitle = logData.BeaconTitle;
BeaconBodyItemMetaId = logData.BeaconBodyItemMetaId;
PriceForUnit = logData.PriceForUnit;
Amount = logData.Amount;
OwnerGuid = logData.OwnerGuid;
OwnerNickName = logData.OwnerNickName;
BeaconMyHomeGuid = logData.BeaconMyHomeGuid;
SellingFinishTime = logData.SellingFinishTime;
BuyerGuid = logData.BuyerGuid;
}
//=====================================================================================
// 로그 출력용 객체 정의
//=====================================================================================
public BeaconShopLogData(ILogInvoker parent, BeaconShopLogData itemParam)
: base(parent)
{
setItemInfo(itemParam);
}
}