Exemple #1
0
        public static bool ShouldAllowSubmission()
        {
            var _event = new ScoreSubmitEvent();

            EventManager.Invoke(_event);
            return(!_event.Canceled);
        }
Exemple #2
0
        public bool ShouldSubmit()
        {
            var _event = new ScoreSubmitEvent();

            EventManager.Invoke(_event);
            return(!_event.Canceled);
        }
 public void OnScoreSubmit(ScoreSubmitEvent @event)
 {
     @event.Canceled = ApproachRateModEnabled || CircleSizeModEnabled || OverallDifficulyModEnabled ||
                       DoubletimeSpeedModEnabled;
 }