Inheritance: KunosEventObjectBase
Esempio n. 1
0
        private void SelectPreviousOrDefaultEvent()
        {
            _selectedEventSkipSaving = true;
            var number = KunosCareerProgress.Instance.Entries.GetValueOrDefault(Id)?.SelectedEvent;

            SelectedEvent            = (number.HasValue ? EventsManager.GetByNumber(number.Value) : null) ?? EventsManager.GetDefault();
            _selectedEventSkipSaving = false;
        }
Esempio n. 2
0
 public AcEventError(KunosCareerEventObject ev, IAcError baseError)
     : base(baseError)
 {
     _ev        = ev;
     _baseError = baseError;
 }
 private void SelectPreviousOrDefaultEvent() {
     _selectedEventSkipSaving = true;
     var number = KunosCareerProgress.Instance.Entries.GetValueOrDefault(Id)?.SelectedEvent;
     SelectedEvent = (number.HasValue ? EventsManager.GetByNumber(number.Value) : null) ?? EventsManager.GetDefault();
     _selectedEventSkipSaving = false;
 }