From 3fb72a5b9e748ccf287acf23f2bedc55060c068d Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 20 Mar 2009 09:40:40 -0600 Subject: *Update debug command sendopcode. --HG-- branch : trunk --- src/game/Debugcmds.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp index 53ae820bcbc..4df0767e20e 100644 --- a/src/game/Debugcmds.cpp +++ b/src/game/Debugcmds.cpp @@ -187,14 +187,22 @@ bool ChatHandler::HandleDebugSendOpcodeCommand(const char* /*args*/) ifs >> val6; data << val6; } - else if(type == "pguid") + else if(type == "appitsguid") { data.append(unit->GetPackGUID()); } - else if(type == "myguid") + else if(type == "appmyguid") { data.append(player->GetPackGUID()); } + else if(type == "myguid") + { + data << uint64(player->GetGUID()); + } + else if(type == "itsguid") + { + data << uint64(unit->GetGUID()); + } else if(type == "pos") { data << unit->GetPositionX(); -- cgit v1.2.3