Наследование: KunosEventObjectBase
Пример #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;
        }
Пример #2
0
 public AcEventError(KunosCareerEventObject ev, IAcError baseError)
     : base(baseError)
 {
     _ev        = ev;
     _baseError = baseError;
 }
Пример #3
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;
 }