//----------------------------- private void getSourceItems() { source_items.Clear(); if (NpcMgr == null) { return; } // string[] tags; foreach (string i in NpcMgr.AvailableIgnoreClans) { tags = ClanHelper.Parse(i); foreach (string x in tags) { if (source_items.Contains(x)) { continue; } if (items.Contains(x)) { continue; } source_items.Add(x); } } }
private void getItems() { items.Clear(); // string[] tags = ClanHelper.Parse(Data); foreach (string i in tags) { items.Add(i); } }