250501 커밋
This commit is contained in:
@@ -26,6 +26,7 @@ public class NtfBeaconShopUpdateItemMQPacketHandler : PacketRecvHandler
|
||||
|
||||
BEACON_GUID beacon_guid = msg.NtfUpdateBeaconShopItem.TargetBeaconGuid;
|
||||
USER_GUID beacon_owner_guid = msg.NtfUpdateBeaconShopItem.TargetUserGuid;
|
||||
BoolType hasBeaconShopItem = msg.NtfUpdateBeaconShopItem.HasBeaconShopItem;
|
||||
|
||||
var server_logic = GameServerApp.getServerLogic();
|
||||
ArgumentNullException.ThrowIfNull(server_logic);
|
||||
@@ -39,14 +40,14 @@ public class NtfBeaconShopUpdateItemMQPacketHandler : PacketRecvHandler
|
||||
var ugc_npc_beacon_shop_action = found_ugc_npc.getEntityAction<UgcNpcBeaconShopAction>();
|
||||
ugc_npc_beacon_shop_action.setUpdateBeaconShopItem();
|
||||
|
||||
var packet = BeaconShopNotifyHelper.makeAckBeaconShopRefreshPacket(beacon_guid);
|
||||
var packet = BeaconShopNotifyHelper.makeAckBeaconShopRefreshPacket(beacon_guid, hasBeaconShopItem);
|
||||
|
||||
if (server_logic.getServerType().toServerType() == ServerType.Channel)
|
||||
{
|
||||
var receivers = server_logic.getPlayerManager().getUsers();
|
||||
foreach (var receiver in receivers)
|
||||
{
|
||||
receiver.Value.send_S2C_NTF_BEACON_SHOP_REFRESH(beacon_guid);
|
||||
receiver.Value.send_S2C_NTF_BEACON_SHOP_REFRESH(beacon_guid, hasBeaconShopItem);
|
||||
}
|
||||
}
|
||||
else if(server_logic.getServerType().toServerType() == ServerType.Indun)
|
||||
|
||||
Reference in New Issue
Block a user