Beispiel #1
0
 void ShowChatInfoRootOver(bool bSuccess, object param)
 {
     if (m_Item != null && m_Item.IsValid())
     {
         if (bSuccess)
         {
             ChatInfoLogic.Instance().InsertItemLinkText(m_Item);
             ItemTooltipsLogic.Instance().CloseWindow();
         }
     }
 }
Beispiel #2
0
    private static void OnShowItemTip(bool bSuccess, object param)
    {
        if (!bSuccess)
        {
            LogModule.ErrorLog("load equiptooltip error");
            return;
        }

        if (null != ItemTooltipsLogic.Instance())
        {
            ItemTooltipsLogic.Instance().ShowTooltips(m_curItem, m_curType);
        }
    }
 void ShareTargetOK()
 {
     if (EquipTooltipsLogic.Instance() != null)
     {
         EquipTooltipsLogic.Instance().CloseWindow();
     }
     if (ItemTooltipsLogic.Instance() != null)
     {
         ItemTooltipsLogic.Instance().CloseWindow();
     }
     //寄售行的吆喝 记录下吆喝时间
     if (ConsignSaleLogic.Instance() != null)
     {
         GameManager.gameManager.PlayerDataPool.LastConsignShareTime = Time.time;
     }
     UIManager.ShowUI(UIInfo.ChatInfoRoot, ShowChatInfoRootOver);
 }