protected virtual void XmppClient_OnAuthError(object sender, FailureCondition e) { //Log.Debug("Failure"); //RunOnUiThread(() => // showMsg("Ops! Error in your Username or Password.") // ); this.App.Xmpp = null; }
public void Fail(FailureCondition failCon) { switch (failCon) { case FailureCondition.NoCastSlot: Debug.Log("FAIL: NO AVAILABLE CASTING SLOT."); break; case FailureCondition.NoTarget: Debug.Log("FAIL: INVALID TARGET FOR SPELL."); break; default: Debug.Log("FAIL: UNKNOWN REASON"); break; } PREFS.I.cameraShaker.ShakeCamera(2f, 0.018f); }
public Failure(FailureCondition cond) : this() { Condition = cond; }
public Failure(FailureCondition cond) : this() { Condition = cond; }
public JabberSaslException(FailureCondition error) : base(StreamErrorCondition.NotAuthorized) { this.error = error; }
protected XmppHandlerResult Error(XmppSession session, FailureCondition error) { return(Error(session, new JabberSaslException(error))); }