using Google.Protobuf; using Google.Protobuf.WellKnownTypes; using ServerCore; using ServerBase; using ServerCommon; using ServerCommon.BusinessLogDomain; using MetaAssets; namespace GameServer; public class NotifyDeletePartyInviteSendHandler { public async Task recvDeletePartyInviteSend(ServerMessage.Types.GS2GS_NTF_DELETE_PARTY_INVITE_SEND notify) { var result = new Result(); // 1. party 체크 var global_party = GameServerApp.getServerLogic().findGlobalEntity(); ArgumentNullException.ThrowIfNull(global_party); var party = global_party.getParty(notify.PartyGuid); ArgumentNullException.ThrowIfNull(party); // 2. send list 삭제 var party_send_action = party.getEntityAction(); ArgumentNullException.ThrowIfNull(party_send_action); result = await party_send_action.deleteInvitePartySend(notify.InviteUserGuid); if (result.isFail()) { Log.getLogger().error(result.toBasicString()); } } }