public override void show()
    {
#if UNITY_EDITOR
        PandoraManager.instance.localUser.image_url = "http://office.linktomorrow.com/common/windsoul/resource/empty1.png";
#endif

        base.show();

        _currentCharacterIsMain = true;
        btnChangeToMain.gameObject.SetActive(false);
        btnChangeToSub.gameObject.SetActive(GameDataManager.instance.selectSubHeroId != null);

        startUpdateCharacter();
        refreshInfo();

        chracterCamera.fieldOfView = 15.0f * nowZoomSize;

        //characterCameraTransform.localPosition = defaultCameraTransformLocalPosition;

        _q.eulerAngles = defaultCameraTransformLocalRotation;
        chracterCamera.transform.localRotation = _q;


//		Debug.LogError("PandoraManager.instance.localUser.image_url : " + PandoraManager.instance.localUser.image_url);

        //playerPhoto.init(PandoraManager.instance.localUser.image_url);
        playerPhoto.down(PandoraManager.instance.localUser.image_url, 70);

#if UNITY_EDITOR
        if (DebugManager.instance.useDebug)
        {
            GameDataManager.instance.maxStage = 1;
            GameDataManager.instance.maxRound = 1;

            ++GameDataManager.instance.maxAct;

            if (GameDataManager.instance.maxAct > 5)
            {
                GameDataManager.instance.maxAct = 1;
            }
        }
#endif
        updateLobbyMap();

        spHasMissionIcon.gameObject.SetActive(GameDataManager.instance.hasClearMission);

        updateNewMsgAni();

        setHasNewMission(UIMission.checkHasNewMission());

        updateCamera();

        checkInventoryLimit();

        btnMission.gameObject.SetActive(GameDataManager.instance.roundClearStatusCheck(1, 1, 3));
        btnFriend.gameObject.SetActive(GameDataManager.instance.roundClearStatusCheck(1, 1, 3));


        if (GameManager.me.introStep == Scene.IntroStep.PlayGame)
        {
            GameManager.me.specialPackageManager.check();
        }
    }
    // Token: 0x0600155E RID: 5470 RVA: 0x0024ACE4 File Offset: 0x00248EE4
    public UIMissionItemController(UIMission GUIWin, Transform listTrans, byte MaxItemCount)
    {
        this.ControllerTrans      = listTrans;
        this.MaxItemCount         = MaxItemCount;
        this.GUIWin               = GUIWin;
        this.ManorKindSpriteArray = this.ControllerTrans.GetChild(3).GetChild(1).GetComponent <UISpritesArray>();
        this.scrollPanel          = this.ControllerTrans.GetChild(2).GetComponent <ScrollPanel>();
        for (int i = 0; i < (int)MaxItemCount; i++)
        {
            this.ItemsHeight.Add(106f);
        }
        this.scrollPanel.IntiScrollPanel(429f, 0f, 0f, this.ItemsHeight, (int)MaxItemCount, GUIWin);
        this.scrollPanel.gameObject.SetActive(true);
        this.RectSecroll           = this.scrollPanel.transform.GetComponent <RectTransform>();
        this.Content               = this.scrollPanel.transform.GetChild(0).GetComponent <RectTransform>();
        this.AffairSpriteArray     = this.ControllerTrans.GetChild(3).GetComponent <UISpritesArray>();
        this.ReCommandSpriteArray  = this.ControllerTrans.GetChild(3).GetChild(0).GetComponent <UISpritesArray>();
        this.TitleTrans            = this.ControllerTrans.GetChild(0);
        this.NoMission             = this.ControllerTrans.GetChild(1);
        this.NoMissionText         = this.NoMission.GetChild(0).GetComponent <UIText>();
        this.NoMissionStr          = StringManager.Instance.SpawnString(150);
        this.AllianceBoundRateText = this.NoMission.GetChild(1).GetComponent <UIText>();
        this.AllianceBoundRateStr  = StringManager.Instance.SpawnString(150);
        this.AllianceBoundRateStr.StringToFormat(DataManager.Instance.mStringTable.GetStringByID(1525u));
        this.AllianceBoundRateStr.AppendFormat(DataManager.Instance.mStringTable.GetStringByID(1003u));
        this.AllianceBoundRateText.text = this.AllianceBoundRateStr.ToString();
        this.TimeStr            = StringManager.Instance.SpawnString(100);
        this.TimeText           = this.ControllerTrans.GetChild(0).GetChild(3).GetComponent <UIText>();
        this.ResetBtn           = this.ControllerTrans.GetChild(0).GetChild(0).GetComponent <UIButton>();
        this.ResetBtn.m_BtnID1  = 10;
        this.ResetBtn.m_Handler = this;
        UIButtonHint uibuttonHint = this.ControllerTrans.GetChild(0).GetChild(1).gameObject.AddComponent <UIButtonHint>();

        uibuttonHint.m_eHint        = EUIButtonHint.DownUpHandler;
        uibuttonHint.m_Handler      = GUIWin;
        uibuttonHint.Parm1          = 1566;
        uibuttonHint.ControlFadeOut = GUIWin.HintRect.gameObject;
        this.InfoBtn           = this.ControllerTrans.GetChild(0).GetChild(2).GetComponent <UIButton>();
        this.InfoBtn.m_BtnID1  = 9;
        this.InfoBtn.m_Handler = this;
        if (GUIManager.Instance.IsArabic)
        {
            this.InfoBtn.transform.localScale = new Vector3(-1f, 1f, 1f);
        }
        this.TimebarTrans                = this.ControllerTrans.GetChild(4);
        this.TimebarData.transform       = this.TimebarTrans.GetChild(0).GetComponent <RectTransform>();
        this.TimebarData.TimeBar         = this.TimebarTrans.GetChild(0).GetChild(0).GetComponent <UITimeBar>();
        this.TimebarData.Speed           = this.TimebarTrans.GetChild(0).GetChild(1).GetComponent <UIButton>();
        this.TimebarData.Speed.m_BtnID1  = 6;
        this.TimebarData.Speed.m_Handler = this;
        GUIManager.Instance.CreateTimerBar(this.TimebarData.TimeBar, 0L, 0L, 0L, eTimeBarType.UIMission, string.Empty, string.Empty);
        this.VIPTimebar.transform       = this.TimebarTrans.GetChild(1).GetComponent <RectTransform>();
        this.VIPTimebar.TimeBar         = this.TimebarTrans.GetChild(1).GetChild(0).GetComponent <UITimeBar>();
        this.VIPTimebar.Speed           = this.TimebarTrans.GetChild(1).GetChild(1).GetComponent <UIButton>();
        this.VIPTimebar.Speed.m_BtnID1  = 12;
        this.VIPTimebar.Speed.m_Handler = this;
        GUIManager.Instance.CreateTimerBar(this.VIPTimebar.TimeBar, 0L, 0L, 0L, eTimeBarType.UIMission, string.Empty, string.Empty);
        this.MissionListItem = new UIMissionItem[4][];
        this.scrollItem      = new ScrollPanelItem[(int)MaxItemCount];
        for (int j = 0; j < (int)MaxItemCount; j++)
        {
            this.scrollItem[j] = this.Content.GetChild(j).GetComponent <ScrollPanelItem>();
        }
    }