public static bool IsGuildMatchFormInviteTabShowRedDot() { if (!Singleton <CGuildSystem> .GetInstance().IsInNormalGuild()) { return(false); } bool flag = Singleton <CGuildMatchSystem> .GetInstance().IsSelfBelongedTeamLeader(); return(flag && CGuildHelper.IsCanShowRedDotForTeamNotFullReason()); }
public static bool IsGuildInfoFormGuildMatchBtnShowRedDot() { if (!Singleton <CGuildSystem> .GetInstance().IsInNormalGuild()) { return(false); } bool flag = Singleton <CGuildMatchSystem> .GetInstance().IsSelfBelongedTeamLeader(); bool flag2 = Singleton <CGuildMatchSystem> .GetInstance().IsHaveInvitationUnhandled(); if (Singleton <CGuildMatchSystem> .GetInstance().IsInGuildMatchTime() || PlayerPrefs.GetInt("GuildMatch_GuildMatchBtnClicked") == 0) { return(true); } if (flag) { if (Singleton <CGuildMatchSystem> .GetInstance().m_isHaveNewSignUpInfo || CGuildHelper.IsCanShowRedDotForTeamNotFullReason()) { return(true); } } else if (PlayerPrefs.GetInt("GuildMatch_InvitationTabClicked") == 0 && flag2) { return(true); } return(false); }