250501 커밋

This commit is contained in:
2025-05-01 07:23:28 +09:00
parent 98bb2e3c5c
commit 23176551b7
353 changed files with 9972 additions and 6652 deletions

View File

@@ -6,14 +6,14 @@ namespace GameServer
{
static public class BeaconShopBusinessLogHelper
{
static public BeaconShopLogData toLogInfo(BeaconShopMongoDoc beaconShopMongoDoc)
static public BeaconShopLogData toLogInfo(BeaconShopMongoDoc beaconShopMongoDoc, bool isActiveSelling)
{
var logData = new BeaconShopLogData();
logData.setInfo(beaconShopMongoDoc);
logData.setInfo(beaconShopMongoDoc, isActiveSelling);
return logData;
}
static public void setInfo(this BeaconShopLogData logData, BeaconShopMongoDoc beaconShopMongoDoc)
static public void setInfo(this BeaconShopLogData logData, BeaconShopMongoDoc beaconShopMongoDoc, bool isActiveSelling)
{
logData.ItemGuid = beaconShopMongoDoc.ItemGuid;
logData.TagId = beaconShopMongoDoc.TagId;
@@ -28,6 +28,7 @@ namespace GameServer
logData.BeaconMyHomeGuid = beaconShopMongoDoc.BeaconMyHomeGuid;
logData.SellingFinishTime = beaconShopMongoDoc.SellingFinishTime;
logData.BuyerGuid = string.Empty;
logData.IsActiveSelling = isActiveSelling;
}
static public BeaconShopLogData toLogInfo(BeaconShopItemAttribute beaconShopItemAttribute, UgcNpcAttribute ugcNpcAttribute, string buyerGuid)
@@ -51,6 +52,7 @@ namespace GameServer
logData.BeaconMyHomeGuid = ugcNpcAttribute.LocatedInstanceGuid;
logData.SellingFinishTime = beaconShopItemAttribute.SellingFinishTime;
logData.BuyerGuid = buyerGuid;
logData.IsActiveSelling = beaconShopItemAttribute.IsActiveSelling;
}
static public BeaconShopSoldRecordLogData toLogInfo(BeaconShopSoldRecordAttribute beaconShopSoldRecordAttribute)