public void SendImageToMail(string message, byte[] path, onUserLoaded _onUserLoaded) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = _onUserLoaded; StartCoroutine(SendImageToMailCoroutine(message, path)); }
public void SendRecoveryMail(string email, onUserLoaded _onUserLoaded) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = _onUserLoaded; StartCoroutine(SendRecoveryMailCoroutine(email)); }
public void UpdateUser(onUserLoaded callback = null) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = callback; StartCoroutine(UpdateCurrentUser()); }
public void CreateUser(AUTHENTICATION_TYPE authType, string authString, onUserLoaded callback = null) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = callback; StartCoroutine(CreateNewUser(authType, authString, authString)); }
public void GetUserByFacebook(string facebookId, onUserLoaded callback = null) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = callback; StartCoroutine(LoadUserWithFacebook(facebookId)); }
public void GetUserByemail(string email, string password, onUserLoaded callback = null) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = callback; StartCoroutine(LoadUser(email, password)); }
public void UpdateUserPassword(string email, string newPass, onUserLoaded _onUserLoaded) { if (!isWebServiceReady) { throw new Exception("WebService is not ready yet."); } isWebServiceReady = false; onUserLoadedEvent = _onUserLoaded; StartCoroutine(UpdateUserPasswordCoroutine(email, newPass)); }