private void ChooseTopEvent() { int num = 0; int num2 = 0; bool flag = false; Dictionary <float, RECORD_INFO> source = new Dictionary <float, RECORD_INFO>(); Dictionary <float, float> dictionary2 = null; for (RECORD_EVENT_PRIORITY record_event_priority = RECORD_EVENT_PRIORITY.RECORD_EVENT_TYPE_PENTAKILL; record_event_priority > RECORD_EVENT_PRIORITY.RECORD_EVENT_TYPE_INVALID; record_event_priority -= 1) { if (((this.m_stRecordInfo != null) && this.m_stRecordInfo.TryGetValue(record_event_priority, out dictionary2)) && (dictionary2 != null)) { if (< > f__am$cache19 == null) {
private void AddRecordEvent(RECORD_EVENT_PRIORITY eventPriority, float fStartTime, float fEndTime) { if (this.m_stRecordInfo != null) { Dictionary <float, float> dictionary = null; if (!this.m_stRecordInfo.TryGetValue(eventPriority, out dictionary)) { dictionary = new Dictionary <float, float>(); this.m_stRecordInfo.Add(eventPriority, dictionary); } if (dictionary != null) { dictionary.Add(fStartTime, fEndTime); } this.m_enLastEventPriority = RECORD_EVENT_PRIORITY.RECORD_EVENT_TYPE_INVALID; } }