Files
caliverse_server/GameServer/Contents/BeaconShop/PacketHandler/BeaconShopNotifyHelper.cs
2025-05-01 07:20:41 +09:00

32 lines
909 B
C#

using ServerCore; using ServerBase;
using BEACON_GUID = System.String;
namespace GameServer
{
public static class BeaconShopNotifyHelper
{
public static bool send_S2C_NTF_BEACON_SHOP_REFRESH(this Player player, BEACON_GUID beaconGuid)
{
var noti_packet = makeAckBeaconShopRefreshPacket(beaconGuid);
if (false == GameServerApp.getServerLogic().onSendPacket(player, noti_packet))
{
return false;
}
return true;
}
public static ClientToGame makeAckBeaconShopRefreshPacket(BEACON_GUID beaconGuid)
{
var noti_packet = new ClientToGame();
noti_packet.Message = new();
noti_packet.Message.NtfBeaconShopRefresh = new();
noti_packet.Message.NtfBeaconShopRefresh.BeaconGuid = beaconGuid;
return noti_packet;
}
}
}