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(); ArgumentNullException.ThrowIfNull(global_party); var global_party_action = global_party.getEntityAction(); ArgumentNullException.ThrowIfNull(global_party_action); // 2. 파티 제거 await global_party_action.destroyParty(notify.DestroyPartyGuid, false); } }