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);
 }
        public RiftDataStore(RiftSpellRegistry spellRegistry)
        {
            _spellRegistry = spellRegistry;
            ID = Guid.NewGuid();
            this.encounterList = new List<Guid>();
            this.entityMap = new Dictionary<string, RiftEntity>();
            long earliestTimestamp = 0L;
            long latestTimestamp = 0L;

            _bossArchive = new BossArchive(Language.ENGLISH);
        }
        public RiftParser(IRiftParserDataConsumer dataConsumer, IRiftParserStatusListener listener, RiftSpellRegistry spellRegistry)
        {
            this.dataConsumer = dataConsumer;

            this.statusListeners = listener;// ((RiftParserStatusListener)IterableListProxy.createProxy(RiftParserStatusListener));
            _spellRegistry = spellRegistry;
            this.timestampFormat = createTimestampFormat();
            this.actionFormat = createActionFormat();
            this.entityFormat = createEntityFormat();
            this.keepParsing = false;
            this.lastTimestamp = 0L;
            this.timestampFactor = 0;
        }
 public static RiftSpellRegistry GetSpellRegistry()
 {
     var instance = new RiftSpellRegistry();
     instance.Load();
     return instance;
 }