초기커밋

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,28 @@
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using ServerCore;
using ServerBase;
using ServerCommon;
using ServerCommon.BusinessLogDomain;
using MetaAssets;
namespace GameServer;
public class NotifyDestroyPartyHandler
{
public async Task recvDestroyParty(ServerMessage.Types.GS2C_NTF_DESTROY_PARTY notify)
{
// 1. 파티 조회
var global_party = GameServerApp.getServerLogic().findGlobalEntity<GlobalParty>();
ArgumentNullException.ThrowIfNull(global_party);
var global_party_action = global_party.getEntityAction<GlobalPartyAction>();
ArgumentNullException.ThrowIfNull(global_party_action);
// 2. 파티 제거
await global_party_action.destroyParty(notify.DestroyPartyGuid, false);
}
}