📄 gsmodifyguildintrohandler.cpp
字号:
//----------------------------------------------------------------------//// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -