초기커밋
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user