private void onKickOut(GameEvent e)
        {
            Variant data         = e.data;
            uint    num          = data["cid"];
            int     removedIndex = (int)BaseProxy <TeamProxy> .getInstance().MyTeamData.removedIndex;

            a3_currentTeamPanel.ItemMemberObj itemMemberObj = this.itemMemberObjList[removedIndex];
            this.itemMemberObjList.RemoveAt(removedIndex);
            this.itemMemberObjList.Add(itemMemberObj);
            itemMemberObj.ClearInfo(false);
            for (int i = removedIndex; i < this.itemMemberObjList.Count; i++)
            {
                this.itemMemberObjList[i].gameObject.transform.SetSiblingIndex(i);
            }
            this.setTeamBuffTxt();
        }
        private void onNoticeHaveMemberLeave(GameEvent e)
        {
            Variant data         = e.data;
            uint    num          = data["cid"];
            int     removedIndex = (int)BaseProxy <TeamProxy> .getInstance().MyTeamData.removedIndex;

            a3_currentTeamPanel.ItemMemberObj itemMemberObj = this.itemMemberObjList[removedIndex];
            this.itemMemberObjList.RemoveAt(removedIndex);
            this.itemMemberObjList.Add(itemMemberObj);
            itemMemberObj.ClearInfo(false);
            for (int i = removedIndex; i < this.itemMemberObjList.Count; i++)
            {
                this.itemMemberObjList[i].root.SetSiblingIndex(i);
            }
            int count = BaseProxy <TeamProxy> .getInstance().MyTeamData.itemTeamDataList.Count;

            for (int j = removedIndex; j < count; j++)
            {
                ItemTeamData itd = BaseProxy <TeamProxy> .getInstance().MyTeamData.itemTeamDataList[j];

                this.itemMemberObjList[j].SetInfo(itd, BaseProxy <TeamProxy> .getInstance().MyTeamData.meIsCaptain);
            }
            for (int k = count; k < this.itemMemberObjList.Count; k++)
            {
                bool flag = BaseProxy <TeamProxy> .getInstance().MyTeamData.meIsCaptain || BaseProxy <TeamProxy> .getInstance().MyTeamData.membInv;

                if (flag)
                {
                    this.itemMemberObjList[k].ClearInfo(true);
                }
                else
                {
                    this.itemMemberObjList[k].ClearInfo(false);
                }
            }
            bool meIsCaptain = BaseProxy <TeamProxy> .getInstance().MyTeamData.meIsCaptain;

            if (meIsCaptain)
            {
                this.togInvite.gameObject.SetActive(true);
                this.togJoin.gameObject.SetActive(true);
                bool flag2 = this.togInvite.isOn != BaseProxy <TeamProxy> .getInstance().MyTeamData.membInv;

                if (flag2)
                {
                    this.togInvite.isOn = BaseProxy <TeamProxy> .getInstance().MyTeamData.membInv;
                }
                bool flag3 = this.togJoin.isOn != BaseProxy <TeamProxy> .getInstance().MyTeamData.dirJoin;

                if (flag3)
                {
                    this.togJoin.isOn = BaseProxy <TeamProxy> .getInstance().MyTeamData.dirJoin;
                }
            }
            else
            {
                this.togInvite.gameObject.SetActive(false);
                this.togJoin.gameObject.SetActive(false);
            }
            this.setTeamBuffTxt();
            ItemTeamMemberData myTeamData = BaseProxy <TeamProxy> .getInstance().MyTeamData;

            this.Show(myTeamData);
        }