static bool HandleDebugSendSellErrorCommand(ChatHandler* handler, const char* args) { if (!*args) return false; SellResult msg = SellResult(atoi(args)); handler->GetSession()->GetPlayer()->SendSellError(msg, 0, 0, 0); return true; }
bool ChatHandler::HandleDebugSendSellErrorCommand(char* args) { if (!*args) return false; uint8 msg = atoi(args); m_session->GetPlayer()->SendSellError(SellResult(msg), 0, ObjectGuid(), 0); return true; }