초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ClientToGameMessage.Types;
namespace GameServer
{
public static class MoneyNotifyHelper
{
public static void send_GS2C_NTF_CURRENCY_MAX_ALERT(Player player, CurrencyType currencyType, double maxMoney)
{
var ntf = new GS2C_NTF_CURRENCY_MAX_ALERT();
ntf.CurrencyType = currencyType;
ntf.MaxMoney = maxMoney;
ClientToGame packet = new ClientToGame();
packet.Message = new ClientToGameMessage();
packet.Message.NtfCurrencyMaxAlert = ntf;
player.sendPacket(packet);
}
public static bool send_GS2C_NTF_BEAM_CHARGE(this Player player)
{
var noti_packet = new ClientToGame();
noti_packet.Message = new();
noti_packet.Message.NtfBeamCharge = new();
if (false == GameServerApp.getServerLogic().onSendPacket(player, noti_packet))
{
return false;
}
return true;
}
}
}