public static void AccountLoginFailed(AccountLoginFailedEvent accountLoginFailedEvent) { foreach (Listener listener in listeners) { listener.AccountLoginFailed(accountLoginFailedEvent); } }
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); } }
public virtual void AccountLoginFailed(AccountLoginFailedEvent accountLoginFailedEvent) { }