public void refreserialCount(INameObj role, int count) { if (!dItem.ContainsKey(role)) { return; } if (!(role is ProfessionRole)) { return; } PlayerNameItem item = dItem[role]; item.refreshserial(count); }
public void refreserialCount(INameObj role, int count) { bool flag = !this.dItem.ContainsKey(role); if (!flag) { bool flag2 = !(role is ProfessionRole); if (!flag2) { PlayerNameItem playerNameItem = this.dItem[role]; playerNameItem.refreshserial(count); } } }