public void refreshmapCount(INameObj role, int count, bool ismine)
        {
            if (!dItem.ContainsKey(role))
            {
                return;
            }
            if (!(role is ProfessionRole))
            {
                return;
            }
            PlayerNameItem item = dItem[role];

            item.refreshMapcount(count, ismine);
        }
Esempio n. 2
0
        public void refreshmapCount(INameObj role, int count, bool ismine)
        {
            bool flag = !this.dItem.ContainsKey(role);

            if (!flag)
            {
                bool flag2 = !(role is ProfessionRole);
                if (!flag2)
                {
                    PlayerNameItem playerNameItem = this.dItem[role];
                    playerNameItem.refreshMapcount(count, ismine);
                }
            }
        }