![]() |
CloudBuilder C++ SDK
v3.0.0
Making social games is easy !
|
Functions | |
void | CloudBuilder::CUserManager::LoginAnonymous (const CotCHelpers::CHJSON *aOptions, CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::LoginNetwork (const CotCHelpers::CHJSON *aConfiguration, CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::ResumeSession (const CotCHelpers::CHJSON *aConfiguration, CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::LoginWithShortCode (const CotCHelpers::CHJSON *aConfiguration, CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::Logout (CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::Link (const CotCHelpers::CHJSON *aConfiguration, CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::Unlink (const char *aNetwork, CResultHandler *aHandler) |
void | CloudBuilder::CUserManager::Convert (const CotCHelpers::CHJSON *aConfiguration, CResultHandler *aHandler) |
void CloudBuilder::CUserManager::Convert | ( | const CotCHelpers::CHJSON * | aConfiguration, |
CResultHandler * | aHandler | ||
) |
Can convert the current account to a Facebook, Googleplus, GameCenter or e-mail account. To be done only when being logged in with an anonymous account.
aConfiguration | is a JSON object holding the necessary details. The mandatory keys are:
|
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::Link | ( | const CotCHelpers::CHJSON * | aConfiguration, |
CResultHandler * | aHandler | ||
) |
Method used to Link an account with Facebook, Googleplus, GameCenter.
aConfiguration | is a JSON object holding the necessary connection details The mandatory keys are:
|
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::LoginAnonymous | ( | const CotCHelpers::CHJSON * | aOptions, |
CResultHandler * | aHandler | ||
) |
Method used to login using no identifer. This method will fail (enOperationAlreayInProgress) if any other login related operation is already launched.
aOptions | is a JSON object holding optional data, see CloudBuilder::CUserManager::LoginNetwork for more about possible options. Can be NULL if no options are to be passed. |
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::LoginNetwork | ( | const CotCHelpers::CHJSON * | aConfiguration, |
CResultHandler * | aHandler | ||
) |
Method used to log in with a with an account of a social network. This method will fail (enOperationAlreayInProgress) if any other login related operation is already launched.
aConfiguration | is a JSON object holding the necessary connection details. The mandatory keys are:
|
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::LoginWithShortCode | ( | const CotCHelpers::CHJSON * | aConfiguration, |
CResultHandler * | aHandler | ||
) |
Method used to log in using a generated short code. This method will fail (enOperationAlreayInProgress) if any other login related operation is already launched.
aConfiguration | is a JSON object holding the necessary connection details. The mandatory keys are:
|
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::Logout | ( | CResultHandler * | aHandler | ) |
Method used to log out a previously logged in profile. After calling this, you need to log again using any of LoginAnonymous, LoginNetwork or Login before being able to call other methods.
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::ResumeSession | ( | const CotCHelpers::CHJSON * | aConfiguration, |
CResultHandler * | aHandler | ||
) |
Method used to log in with a profile previously stored as the result of a LoginAnonymous or LoginNetwork. This method will fail (enOperationAlreayInProgress) if any other login related operation is already launched.
aConfiguration | is a JSON object holding the necessary connection details. The mandatory keys are:
|
aHandler | result handler whenever the call finishes (it might also be synchronous) |
void CloudBuilder::CUserManager::Unlink | ( | const char * | aNetwork, |
CResultHandler * | aHandler | ||
) |
Method used to Unlink an account with Facebook, Googleplus, GameCenter.
aNetwork | is a string containing the network : "facebook", "googleplus", "gamecenter" |
aHandler | result handler whenever the call finishes (it might also be synchronous) |