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