// ------ void BuyWaitResultHandler(GuiPopup inPopup, E_PopupResultCode inResult) { //Debug.Log("Waiting for buy finished. popup: " + inResult + " action status " + BuyActionStatus); if (inResult == E_PopupResultCode.Success) { Owner.Back(); m_ResearchItem.StateChanged(); SendResult(E_PopupResultCode.Ok); } else { Owner.Back(); SendResult(E_PopupResultCode.Failed); } m_ResearchItem = null; #if !TEMPORARY_UPGRADE_HACK m_UpgradeCloudAction = null; #endif }
void BuyWaitResultHandler(GuiPopup inPopup, E_PopupResultCode inResult) { //Debug.Log("Waiting for buy finished. popup: " + inResult + " action status " + BuyActionStatus); if (inResult == E_PopupResultCode.Success) { Owner.Back(); ResearchSupport.Instance.AnyResearchItemChanged(); m_ResearchItem.StateChanged(); SendResult(E_PopupResultCode.Success); } else { Owner.Back(); SendResult(E_PopupResultCode.Failed); } m_ResearchItem = null; m_BuyCloudAction = null; m_CheckEquipCloudAction = null; }