public virtual void onUserEvent(UserStateChangedEvent e) { if (UserEvent != null) UserEvent(this, e); }