private void InitRally(int index, Transform t) { //IL_0072: Unknown result type (might be due to invalid IL or missing references) //IL_0086: Unknown result type (might be due to invalid IL or missing references) SetEvent(t, "JOIN_MAP", index); LoungeModel.SlotInfo slotInfo = rallyInvites[index]; CharaInfo userInfo = slotInfo.userInfo; FollowLoungeMember followLoungeMember = MonoBehaviourSingleton <LoungeMatchingManager> .I.GetFollowLoungeMember(userInfo.userId); EquipSetCalculator otherEquipSetCalculator = MonoBehaviourSingleton <StatusManager> .I.GetOtherEquipSetCalculator(index + 4); otherEquipSetCalculator.SetEquipSet(slotInfo.userInfo.equipSet, false); SetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(userInfo, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); SetLabelText(t, UI.LBL_NAME, userInfo.name); SetLabelText(t, UI.LBL_LEVEL, userInfo.level.ToString()); SetFollowStatus(t, userInfo.userId, followLoungeMember.following, followLoungeMember.follower); SetActive(t, UI.SPR_ICON_HOST, userInfo.userId == MonoBehaviourSingleton <LoungeMatchingManager> .I.loungeData.ownerUserId); SetPlayingStatus(t, userInfo.userId); SetActive(t, UI.SPR_ICON_FIRST_MET, MonoBehaviourSingleton <LoungeMatchingManager> .I.CheckFirstMet(userInfo.userId)); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(userInfo.selectedDegrees, false, delegate { RepositionTable(); }); }
public override void Initialize() { //IL_007c: Unknown result type (might be due to invalid IL or missing references) data = (GameSection.GetEventData() as CharaInfo); if (!MonoBehaviourSingleton <LoungeMatchingManager> .I.IsInLounge()) { InitializeBase(); } else { FollowLoungeMember followLoungeMember = MonoBehaviourSingleton <LoungeMatchingManager> .I.GetFollowLoungeMember(data.userId); if (followLoungeMember == null) { InitializeBase(); } else { dataFollower = followLoungeMember.follower; dataFollowing = followLoungeMember.following; nowSectionName = MonoBehaviourSingleton <GameSceneManager> .I.GetCurrentSectionName(); isFollowerList = Object.op_Implicit(Object.FindObjectOfType(typeof(FriendFollowerList))); InitializeBase(); } } }
private void SetMemberInfo(LoungeModel.SlotInfo data, int i, Transform t) { //IL_005b: Unknown result type (might be due to invalid IL or missing references) //IL_006f: Unknown result type (might be due to invalid IL or missing references) CharaInfo userInfo = data.userInfo; FollowLoungeMember followLoungeMember = MonoBehaviourSingleton <LoungeMatchingManager> .I.GetFollowLoungeMember(userInfo.userId); EquipSetCalculator otherEquipSetCalculator = MonoBehaviourSingleton <StatusManager> .I.GetOtherEquipSetCalculator(i + 4); otherEquipSetCalculator.SetEquipSet(data.userInfo.equipSet, false); SetRenderPlayerModel(t, UI.TEX_MODEL, PlayerLoadInfo.FromCharaInfo(userInfo, false, true, false, true), 99, new Vector3(0f, -1.536f, 1.87f), new Vector3(0f, 154f, 0f), true, null); SetLabelText(t, UI.LBL_NAME, userInfo.name); SetLabelText(t, UI.LBL_LEVEL, userInfo.level.ToString()); SetFollowStatus(t, userInfo.userId, followLoungeMember.following, followLoungeMember.follower); SetActive(t, UI.SPR_ICON_HOST, userInfo.userId == MonoBehaviourSingleton <LoungeMatchingManager> .I.loungeData.ownerUserId); SetPlayingStatus(t, userInfo.userId); SetActive(t, UI.SPR_ICON_FIRST_MET, MonoBehaviourSingleton <LoungeMatchingManager> .I.CheckFirstMet(userInfo.userId)); DegreePlate component = FindCtrl(t, UI.OBJ_DEGREE_FRAME_ROOT).GetComponent <DegreePlate>(); component.Initialize(userInfo.selectedDegrees, false, delegate { GetCtrl(UI.GRD_LIST).GetComponent <UIGrid>().Reposition(); }); if (MonoBehaviourSingleton <LoungeMatchingManager> .I.IsRallyUser(userInfo.userId)) { SetBadge(t, -1, 1, 10, 0, true); } }
private void SetupListItem(CharaInfo userInfo, int i, Transform t) { FollowLoungeMember followLoungeMember = MonoBehaviourSingleton <LoungeMatchingManager> .I.GetFollowLoungeMember(userInfo.userId); SetLabelText(t, UI.LBL_NAME, userInfo.name); SetLabelText(t, UI.LBL_LEVEL, userInfo.level.ToString()); SetFollowStatus(t, userInfo.userId, followLoungeMember.following, followLoungeMember.follower); SetActive(t, UI.SPR_ICON_HOST, userInfo.userId == MonoBehaviourSingleton <LoungeMatchingManager> .I.loungeData.ownerUserId); SetPlayingStatus(t, userInfo.userId); SetActive(t, UI.SPR_ICON_FIRST_MET, MonoBehaviourSingleton <LoungeMatchingManager> .I.CheckFirstMet(userInfo.userId)); bool is_visible = MonoBehaviourSingleton <UserInfoManager> .I.userInfo.id == MonoBehaviourSingleton <LoungeMatchingManager> .I.loungeData.ownerUserId; SetActive(t, UI.BTN_KICK, is_visible); SetEvent(t, UI.BTN_KICK, "KICK", i); SetEvent(t, UI.BTN_JOIN, "JOIN", i); }