30 #include "Pokemon/PokemonTeam.hpp"
31 #include "Pokemon/Pokemon.hpp"
85 std::cout <<
"A new accout has been created ! ("
86 << name <<
")" << std::endl;
93 std::cout <<
"Player data have been created !" << std::endl;
96 for (
int i = 1; i <= 5; i++)
124 for (
int i = 0; i < 4; i++)
135 std::cout <<
"A random Pokemon have been added to the player !"
160 std::cout <<
"Login of \"" << name
161 <<
"\" (pass: \"" << password <<
"\") !" << std::endl;
184 playerDataTable.DisplayData ();
216 account->
SetTeam (pokemonTeam);
234 "SELECT account_name "
238 while (!accounts.EndOfStream ())
241 std::cout << current_account << std::endl;
244 std::cout << accounts.AffectedRows ()
245 <<
" account(s) found !" << std::endl;
249 std::cerr << e.
errmsg () << std::endl;
275 return hashedPassword;
285 "SET account_current_ip = NULL "
286 "WHERE account_name = :name";
294 std::cout << name <<
" is now disconnected !" << std::endl;