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