Ejemplo n.º 1
0
 public static void AccountLoginFailed(AccountLoginFailedEvent accountLoginFailedEvent)
 {
     foreach (Listener listener in listeners)
     {
         listener.AccountLoginFailed(accountLoginFailedEvent);
     }
 }
Ejemplo n.º 2
0
        private void ParseResponse(string response)
        {
            Session result = JsonConvert.DeserializeObject <Session>(response);

            if (result.success)
            {
                this.Login(result);
            }
            else
            {
                AccountLoginFailedEvent ev = new AccountLoginFailedEvent(result.error);
                EventHandler.AccountLoginFailed(ev);
            }
        }
Ejemplo n.º 3
0
 public virtual void AccountLoginFailed(AccountLoginFailedEvent accountLoginFailedEvent)
 {
 }