250501 커밋
This commit is contained in:
@@ -832,7 +832,7 @@ public class UgcNpcAction : EntityActionBase
|
||||
{
|
||||
var beacon_shop_action = masterEntity.getEntityAction<BeaconShopAction>();
|
||||
if (beacon_shop_action != null)
|
||||
ugc_summary.HasReceivePayment = beacon_shop_action.hasBeaconShopSoldRecord(ugc_summary.UgcNpcMetaGuid) == true ? BoolType.True : BoolType.False;
|
||||
ugc_summary.HasReceivePayment = beacon_shop_action.getBeaconShopNumOfReceiptNotReceived(ugc_summary.UgcNpcMetaGuid) == 0 ? BoolType.False : BoolType.True;
|
||||
}
|
||||
|
||||
return ugc_summary;
|
||||
|
||||
@@ -181,5 +181,16 @@ namespace GameServer
|
||||
{
|
||||
m_isUpdateBeaconShopItem = true;
|
||||
}
|
||||
|
||||
public void setDeactiveAllItems()
|
||||
{
|
||||
foreach(var beaconShopItem in m_beaconShopItems.Values)
|
||||
{
|
||||
var beacon_shop_item_attribute = beaconShopItem.getEntityAttribute<BeaconShopItemAttribute>();
|
||||
NullReferenceCheckHelper.throwIfNull(beacon_shop_item_attribute, () => $"beacon_shop_item_attribute is null !!! - {toBasicString()}");
|
||||
beacon_shop_item_attribute.IsActiveSelling = false;
|
||||
beacon_shop_item_attribute.modifiedEntityAttribute();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user