public static void Show_Item(CUIComponent com, CFR frData) { CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .get_instance().GetMasterRoleInfo(); if (masterRoleInfo != null && masterRoleInfo.playerUllUID == frData.ulluid && (long)masterRoleInfo.logicWorldID == (long)((ulong)frData.worldID)) { return; } IntimacyRelationViewUT.Show_Item_Top(com, frData); IntimacyRelationViewUT.Show_Item_Middle(com, frData); IntimacyRelationViewUT.Show_Item_Bottom(com, frData); frData.bRedDot = false; }
public static void Show_Item(CUIComponent com, CFR frData, CUIFormScript uiFrom) { CRoleInfo masterRoleInfo = Singleton<CRoleInfoManager>.instance.GetMasterRoleInfo(); if (masterRoleInfo != null && masterRoleInfo.playerUllUID == frData.ulluid && (long)masterRoleInfo.logicWorldID == (long)((ulong)frData.worldID)) { return; } IntimacyRelationViewUT.Show_Item_Top(com, frData, uiFrom); IntimacyRelationViewUT.Show_Item_Middle(com, frData, uiFrom); IntimacyRelationViewUT.Show_Item_Bottom(com, frData); frData.bRedDot = false; GameObject obj = Utility.FindChild(com.m_widgets[1], "NobeImag"); obj.CustomSetActive(!frData.bInShowChoiseRelaList); }