aboutsummaryrefslogtreecommitdiff
path: root/src/game/Debugcmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r--src/game/Debugcmds.cpp12
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();