Advertisement
Guest User

getAccountBetaKey

a guest
Jun 18th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. std::string IOLoginData::getAccountBetaKey(uint32_t accountId)
  2. {
  3. Database* db = Database::getInstance();
  4. DBQuery query;
  5. query << "SELECT `betakey` FROM `account` WHERE `id` = << accountId;
  6.  
  7. DBResult* result;
  8. if (!result) {
  9. return "";
  10. }
  11. return result->getDataString("betakey")
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement