예제 #1
0
    void ShowCombatResult()
    {
        CaptionUpgradeWnd cuw = WndManager.FindDialog <CaptionUpgradeWnd>();

        if (cuw != null)
        {
            WndManager.DestoryDialog <CaptionUpgradeWnd>();
        }
        WndManager.ShowAllWnds(false);
        StageResultWnd        wnd        = WndManager.GetDialog <StageResultWnd>();
        BattleEnvironmentMode battleMode = BattleEnvironmentM.GetBattleEnvironmentMode();

        if (wnd != null)
        {
            wnd.SetStageResult(StageDC.GetStageResult());
        }
    }
예제 #2
0
    void ShowScriptCombatResult(int nErrorCode)
    {
        CaptionUpgradeWnd cuw = WndManager.FindDialog <CaptionUpgradeWnd>();

        if (cuw != null)
        {
            WndManager.DestoryDialog <CaptionUpgradeWnd>();
        }
        WndManager.ShowAllWnds(false);
        StageResultWnd        wnd        = WndManager.GetDialog <StageResultWnd>();
        BattleEnvironmentMode battleMode = BattleEnvironmentM.GetBattleEnvironmentMode();

        if (wnd != null)
        {
            wnd.SetStageResult(StageDC.GetStageResult());
            List <StageDC.ScriptDropItem> items = StageDC.GetStageScriptDrops();
            foreach (StageDC.ScriptDropItem item in items)
            {
                wnd.SetScriptDropItem(item.mType, item.mID, item.mCount);
            }
        }
    }
예제 #3
0
 private void BtnClose_OnClickEventHandler(UIButton sender)
 {
     WndManager.DestoryDialog <PdbbbWnd>();
     WndManager.ShowAllWnds(true);
     MainCameraM.s_Instance.EnableDrag(true);
 }