public override void Initialize() { //IL_00f8: Unknown result type (might be due to invalid IL or missing references) FriendFollowLinkResult followLinkResult = MonoBehaviourSingleton <FriendManager> .I.followLinkResult; if (followLinkResult == null) { base.Initialize(); } else { promotionInfo = followLinkResult.promotionInfo; string text = base.sectionData.GetText("TITLE"); SetLabelText((Enum)UI.LBL_TITLE, text); SetLabelText((Enum)UI.LBL_TITLE_SHADOW, text); SetSuccessNum(promotionInfo); SetReceivedNum(promotionInfo); string text2 = base.sectionData.GetText("DETAIL"); SetLabelText((Enum)UI.LBL_DETAIL, text2); bool isPromotionEvent = promotionInfo.isPromotionEvent; SetActive((Enum)UI.OBJ_SNS_AREA, isPromotionEvent); SetActive((Enum)UI.LBL_CANT_INVITE, !isPromotionEvent); string message = followLinkResult.message; linkMessage = string.Format(message, followLinkResult.link); linkMessage = linkMessage.Replace("<BR>", "\n"); this.StartCoroutine(LoadTopBanner(promotionInfo.promotionBannerId)); base.Initialize(); } }
public override void Initialize() { //IL_0160: Unknown result type (might be due to invalid IL or missing references) followLinkResult = MonoBehaviourSingleton <FriendManager> .I.followLinkResult; SetLabelText((Enum)UI.LBL_FOLLOWER_NUM, followLinkResult.followCnt.ToString() + "/" + followLinkResult.followMaxCnt.ToString()); string text = base.sectionData.GetText("REMAIN"); string text2 = base.sectionData.GetText("PEOPLE"); SetLabelText((Enum)UI.LBL_REMAIN_NUM, text + " " + followLinkResult.remainedCampaignNum.ToString() + " " + text2); string empty = string.Empty; SetLabelText(text: (followLinkResult.remainedLoungeFirstMetNum >= 0) ? (text + " " + followLinkResult.remainedLoungeFirstMetNum.ToString() + " " + text2) : base.sectionData.GetText("NON_CAMPAIN"), label_enum: UI.LBL_LOUNGE_REMAIN_NUM); string message = followLinkResult.message; linkMessage = string.Format(message, followLinkResult.link); linkMessage = linkMessage.Replace("<BR>", "\n"); this.StartCoroutine(LoadTopBanner()); base.Initialize(); }