actionsilvercoating.cpp
来自「dk1游戏的原代码文件,完整.编译系统redhat7.3,mysql 3.23 」· C++ 代码 · 共 63 行
CPP
63 行
////////////////////////////////////////////////////////////////////////////////// Filename : ActionSilverCoating.cpp// Written By : // Description :////////////////////////////////////////////////////////////////////////////////#include "ActionSilverCoating.h"#include "Creature.h"#include "GamePlayer.h"#include "PropertyBuffer.h"#include "Gpackets/GCNPCResponse.h"//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////void ActionSilverCoating::read (PropertyBuffer & propertyBuffer) throw (Error){ __BEGIN_TRY __END_CATCH}////////////////////////////////////////////////////////////////////////////////// 咀记阑 角青茄促.////////////////////////////////////////////////////////////////////////////////void ActionSilverCoating::execute (Creature * pCreature1 , Creature * pCreature2) throw (Error){ __BEGIN_TRY Assert(pCreature1 != NULL); Assert(pCreature2 != NULL); Assert(pCreature1->isNPC()); Assert(pCreature2->isPC()); GCNPCResponse okpkt; okpkt.setCode(NPC_RESPONSE_INTERFACE_SILVER_COATING); Player* pPlayer = pCreature2->getPlayer(); Assert(pPlayer != NULL); pPlayer->sendPacket(&okpkt); __END_CATCH}////////////////////////////////////////////////////////////////////////////////// get debug string////////////////////////////////////////////////////////////////////////////////string ActionSilverCoating::toString () const throw (){ __BEGIN_TRY StringStream msg; msg << "ActionSilverCoating(" << ")"; return msg.toString(); __END_CATCH}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?