📄 actiondownskill.cpp
字号:
////////////////////////////////////////////////////////////////////////////////// Filename : ActionDownSkill.cpp// Written By : // Description :// NPC甫 烹秦 努扼捞攫飘肺 窍咯陛 辨靛 积己芒阑 剁快霸 茄促.////////////////////////////////////////////////////////////////////////////////#include "ActionDownSkill.h"#include "Creature.h"#include "GamePlayer.h"#include "Gpackets/GCNPCResponse.h"////////////////////////////////////////////////////////////////////////////////// read from property buffer////////////////////////////////////////////////////////////////////////////////void ActionDownSkill::read (PropertyBuffer & propertyBuffer) throw (Error){ __BEGIN_TRY // 辨靛 积己芒阑 剁快绰 巴挥捞骨肺 漂喊洒 佬绢甸老 牢荐绰 绝促. __END_CATCH}////////////////////////////////////////////////////////////////////////////////// 咀记阑 角青茄促.////////////////////////////////////////////////////////////////////////////////void ActionDownSkill::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 okpkt; okpkt.setCode(NPC_RESPONSE_DOWN_SKILL); pPlayer->sendPacket(&okpkt); __END_CATCH}////////////////////////////////////////////////////////////////////////////////// get debug string////////////////////////////////////////////////////////////////////////////////string ActionDownSkill::toString () const throw (){ __BEGIN_TRY StringStream msg; msg << "ActionDownSkill(" << ")"; return msg.toString(); __END_CATCH}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -