초기커밋

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,37 @@
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<GlobalParty>();
ArgumentNullException.ThrowIfNull(global_party);
var party = global_party.getParty(notify.PartyGuid);
ArgumentNullException.ThrowIfNull(party);
// 2. send list 삭제
var party_send_action = party.getEntityAction<GlobalPartyInvitePartySendAction>();
ArgumentNullException.ThrowIfNull(party_send_action);
result = await party_send_action.deleteInvitePartySend(notify.InviteUserGuid);
if (result.isFail())
{
Log.getLogger().error(result.toBasicString());
}
}
}