public RiftSessionObject(RiftDataStore riftDataStore, IRiftBuddySettings settings) { _riftDataStore = riftDataStore; _settings = settings; parserStatus = RiftParserStatus.NOT_PARSING; _combatStatus = RiftCombatStatus.NOT_APPLICABLE; }
public RiftBuddyViewModel(RiftDataStore dataStore, IRiftParser parser, RiftSpellRegistry spellRegistry) { _encounters = new NotifyCollectionChangedWrapper<RiftEncounterDescriptor>(_encountersInner); _summary = new NotifyCollectionChangedWrapper<EntitySummaryViewModel>(_summaryInner); _playerSummary = new NotifyCollectionChangedWrapper<SpellSummaryViewModel>(_playerSummaryInner); _dataStore = dataStore; _parser = parser; _spellRegistry = spellRegistry; _dataStore.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(_encounterList_CollectionChanged); }