mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
*Update debug command sendopcode.
--HG-- branch : trunk
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user