gsmodifyguildintrohandler.cpp

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C++ 代码 · 共 55 行

CPP
55
字号
//----------------------------------------------------------------------//// Filename    : GSModifyGuildIntroHandler.cpp// Written By  : Reiot// Description :////----------------------------------------------------------------------// include files#include "GSModifyGuildIntro.h"#include "Assert.h"#ifdef __SHARED_SERVER__		#include "Guild.h"	#include "GuildManager.h"	#include "GameServerManager.h"	#include "Spackets/SGModifyGuildIntroOK.h"#endif//----------------------------------------------------------------------// // GSModifyGuildIntroHandler::execute()// //----------------------------------------------------------------------void GSModifyGuildIntroHandler::execute ( GSModifyGuildIntro* pPacket, Player* pPlayer )	 throw ( ProtocolException , Error ){	__BEGIN_TRY __BEGIN_DEBUG_EX#ifdef __SHARED_SERVER__	Assert( pPacket != NULL );	// 辨靛甫 啊廉柯促.	Guild* pGuild = g_pGuildManager->getGuild( pPacket->getGuildID() );	if (pGuild==NULL) return;	pGuild->saveIntro( pPacket->getGuildIntro() );	// 霸烙 辑滚肺 焊尘 菩哦阑 父电促.	SGModifyGuildIntroOK sgModifyGuildIntroOK;	sgModifyGuildIntroOK.setGuildID( pGuild->getID() );	sgModifyGuildIntroOK.setGuildIntro( pPacket->getGuildIntro() );	// 霸烙 辑滚肺 菩哦阑 焊辰促.	g_pGameServerManager->broadcast( &sgModifyGuildIntroOK );#endif			__END_DEBUG_EX __END_CATCH}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?