sgmodifyguildintrookhandler.cpp

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

CPP
49
字号
//----------------------------------------------------------------------//// Filename    : SGModifyGuildIntroOKHandler.cpp// Written By  : Reiot// Description :////----------------------------------------------------------------------// include files#include "SGModifyGuildIntroOK.h"#include "Properties.h"#ifdef __GAME_SERVER__	#include "DB.h"	#include "Guild.h"	#include "GuildManager.h"	#include "Player.h"	#include "Gpackets/GCSystemMessage.h"#endif//----------------------------------------------------------------------// // SGModifyGuildIntroOKHandler::execute()// //----------------------------------------------------------------------void SGModifyGuildIntroOKHandler::execute ( SGModifyGuildIntroOK* pPacket )	 throw ( ProtocolException , Error ){	__BEGIN_TRY __BEGIN_DEBUG_EX#ifdef __GAME_SERVER__	//cout << "SGModifyGuildIntro received" << endl;	Assert( pPacket != NULL );	// 辨靛甫 啊廉柯促.	Guild* pGuild = g_pGuildManager->getGuild( pPacket->getGuildID() );	try { Assert( pGuild != NULL ); } catch ( Throwable& ) { return; }	pGuild->setIntro( pPacket->getGuildIntro() );#endif			__END_DEBUG_EX __END_CATCH}

⌨️ 快捷键说明

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