diff options
author | megamage <none@none> | 2009-03-20 09:40:40 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-20 09:40:40 -0600 |
commit | 3fb72a5b9e748ccf287acf23f2bedc55060c068d (patch) | |
tree | 084f58d1b7caebd2d8b3ff682f8ab6abb31385d0 /src/game/Debugcmds.cpp | |
parent | d944be8381757375b064cf189aa2088c2621761d (diff) |
*Update debug command sendopcode.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r-- | src/game/Debugcmds.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
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(); |