public void load() { if (TransportLinesManagerMod.instance != null && TransportLinesManagerMod.debugMode) { TLMUtils.doLog("TLMStopsExtension.load()"); } var file = TLMConfigWarehouse.getCurrentConfigString(CONFIG).Split(COMMA.ToCharArray()); cached_list = new Dictionary <uint, Dictionary <Property, string> >(); if (file.Length > 0) { if (TransportLinesManagerMod.instance != null && TransportLinesManagerMod.debugMode) { TLMUtils.doLog("TLMStopsExtension.load(): file.Length > 0"); } foreach (string s in file) { uint key = getIndexFromStringArray(s); var value = TLMUtils.getValueFromStringArray <Property>(s, SEPARATOR, SUBCOMMA, SUBSEPARATOR); cached_list[key] = value; } if (TransportLinesManagerMod.instance != null && TransportLinesManagerMod.debugMode) { TLMUtils.doLog("TLMStopsExtension.load(): dic done"); } cached_list.Remove(0); } }