Beispiel #1
0
    /// <summary>
    /// 更新财富显示
    /// </summary>
    public static void WealthUpdate()
    {
        UIHallManager uIHallManager = MessageManager.GetInstance.GetUIDict <UIHallManager>();

        if (uIHallManager != null)
        {
            uIHallManager.UpdateUI();
        }
        //UIVipPanel uiVipMsg = MessageManager.GetInstance.GetUIDict<UIVipPanel>();
        //如果是在vip特权这个界面,就立即更新vip经验值
        //if (uiVipMsg != null)
        //{
        //    if (uiVipMsg.gameObject.activeSelf)
        //    {
        //        uiVipMsg.UpdateUI();
        //    }
        //}
        UIZJHPanel uIZJHPanel = MessageManager.GetInstance.GetUIDict <UIZJHPanel>();

        if (uIZJHPanel == null)
        {
            uIZJHPanel = MessageManager.GetInstance.GetUIDict <CheatZjhPanel>();
        }
        if (uIZJHPanel != null)
        {
            uIZJHPanel.UpdateSelfUIInfo();
        }
        UIWanRenChang uIWanRenChang = MessageManager.GetInstance.GetUIDict <UIWanRenChang>();

        if (uIWanRenChang != null)
        {
            uIWanRenChang.MiddleWeath();
        }
        UIDicePlane uIDicePlane = MessageManager.GetInstance.GetUIDict <UIDicePlane>();

        if (uIDicePlane != null)
        {
            uIDicePlane.MiddleWeath();
        }

        UIShopPanel shopuiMessage = MessageManager.GetInstance.GetUIDict <UIShopPanel>();

        if (shopuiMessage != null)
        {
            if (shopuiMessage.gameObject.activeSelf)
            {
                shopuiMessage.UpdateUIData();
            }
        }
    }
Beispiel #2
0
    //有玩家中途财富变更
    public override void playerWeathUpdate(long uid, ItemListDto dto)
    {
        UIDicePlane uIDicePlane = MessageManager.GetInstance.GetUIDict <UIDicePlane>();

        uIDicePlane.MiddleWeath(uid, dto);
    }