초기커밋
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user