📄 actionquitdialogue.cpp
字号:
////////////////////////////////////////////////////////////////////////////////// Filename : ActionQuitDialogue.cpp// Written By : // Description : ////////////////////////////////////////////////////////////////////////////////#include "ActionQuitDialogue.h"#include "Creature.h"#include "Gpackets/GCNPCResponse.h"#include "GamePlayer.h"////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////void ActionQuitDialogue::read (PropertyBuffer & propertyBuffer) throw (Error){ __BEGIN_TRY // 捞 咀记篮 NPC客 敲饭捞绢 埃狼 措拳甫 辆丰矫虐绰 开且阑 窍骨肺 // 漂喊洒 佬绢甸咯具 且 颇扼固磐啊 粮犁窍瘤 臼绰促. __END_CATCH}////////////////////////////////////////////////////////////////////////////////// 咀记阑 角青茄促.////////////////////////////////////////////////////////////////////////////////void ActionQuitDialogue::execute (Creature * pCreature1 , Creature * pCreature2) throw (Error){ __BEGIN_TRY Assert(pCreature1 != NULL); Assert(pCreature2 != NULL); Assert(pCreature1->isNPC()); Assert(pCreature2->isPC()); Player* pPlayer = pCreature2->getPlayer(); Assert(pPlayer != NULL); GCNPCResponse response; response.setCode(NPC_RESPONSE_QUIT_DIALOGUE); pPlayer->sendPacket(&response); __END_CATCH}////////////////////////////////////////////////////////////////////////////////// get debug string////////////////////////////////////////////////////////////////////////////////string ActionQuitDialogue::toString () const throw (){ __BEGIN_TRY StringStream msg; msg << "ActionQuitDialogue(" << ")"; return msg.toString(); __END_CATCH}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -