*Update debug command sendopcode.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-20 09:40:40 -06:00
parent d944be8381
commit 3fb72a5b9e

View File

@@ -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();