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

            EventManager.Invoke(_event);
            return(!_event.Canceled);
        }
Beispiel #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;
 }