초기커밋

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,35 @@
using ServerCommon;
using ServerCore; using ServerBase;
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 CustomDefinedUiNotifyHelper
{
public static bool send_GS2C_NTF_CUSTOM_DEFINED_UI_ALL(this Player player)
{
var custom_defined_ui_ation = player.getEntityAction<CustomDefinedUiAction>();
NullReferenceCheckHelper.throwIfNull(custom_defined_ui_ation, () => $"custom_defined_ui_ation is null !!! - {player.toBasicString()}");
var ntf_packet = new ClientToGame();
ntf_packet.Message = new ClientToGameMessage();
ntf_packet.Message.NtfCustomDefinedUIAll = new GS2C_NTF_CUSTOM_DEFINED_UI_ALL();
ntf_packet.Message.NtfCustomDefinedUIAll.UiDatas.Add(custom_defined_ui_ation.toCustomDefinedUiAll());
if (false == GameServerApp.getServerLogic().onSendPacket(player, ntf_packet))
{
return false;
}
return true;
}
}
}