public NbCheckItems(string str) { bool flag = NbCheckItems.dCheck == null; if (flag) { NbCheckItems.init(); } string[] array = str.Split(new char[] { '|' }); for (int i = 0; i < array.Length; i++) { string[] array2 = array[i].Split(new char[] { ',' }); bool flag2 = NbCheckItems.dCheck.ContainsKey(array2[0]); if (flag2) { this.lItems.Add(new NbCheckItem(NbCheckItems.dCheck[array2[0]], array2)); } else { Debug.LogError("新手初始化错误:::" + array2[0]); } } }
public void initCheck(string str) { if (str == "") { checkToDo = null; } else { checkToDo = new NbCheckItems(str); } }
public void initCheck(string str) { bool flag = str == ""; if (flag) { this.checkToDo = null; } else { this.checkToDo = new NbCheckItems(str); } }