public void ShowInvitedFriendNotification(UserLabelClickEvent e, SingleNode <UserLabelComponent> userLabel, [JoinByUser] SingleNode <InviteFriendListItemComponent> friendUI, [JoinByUser] SingleNode <AcceptedFriendComponent> friend, [JoinAll] SelectedBattle battle, [JoinAll] SingleNode <InviteFriendsConfigComponent> inviteFriendsConfig) { friendUI.component.UserLabelContainer.SetActive(false); friendUI.component.NotificationContainer.SetActive(true); base.NewEvent <HideInvitedFriendNotificationEvent>().Attach(friend).ScheduleDelayed(inviteFriendsConfig.component.InviteSentNotificationDuration); base.ScheduleEvent(new InviteFriendToBattleEvent(battle.Entity.Id), friend); }
public void OnItemClick(UserLabelClickEvent e, UserLabelNode userLabel, [JoinAll] SingleNode <InviteFriendsPopupComponent> friendsPopup) { }