public void ShowProfile(ButtonClickEvent e, SingleNode <FriendProfileButtonComponent> button, [JoinAll] SelectedFriendUINode friendUI, [JoinByUser] SingleNode <UserComponent> friend) { base.ScheduleEvent(new ShowProfileScreenEvent(friend.Entity.Id), friend.Entity); }
public void RemoveFriend(ConfirmButtonClickYesEvent e, SingleNode <BreakOffFriendButtonComponent> button, [JoinAll] SelectedFriendUINode friendUI, [JoinByUser] SingleNode <AcceptedFriendComponent> friend, [JoinAll] SingleNode <SelfUserComponent> user) { base.ScheduleEvent(new BreakOffFriendEvent(friend.Entity), user); }
public void RevokeFriend(ButtonClickEvent e, SingleNode <RevokeFriendRequestButtonComponent> button, [JoinAll] SelectedFriendUINode friendUI, [JoinByUser] SingleNode <OutgoingFriendComponent> friend, [JoinAll] SingleNode <SelfUserComponent> user) { base.ScheduleEvent(new RevokeFriendEvent(friend.Entity), user); }
public void AcceptFriend(ButtonClickEvent e, SingleNode <AcceptFriendButtonComponent> button, [JoinAll] SelectedFriendUINode friendUI, [JoinByUser] SingleNode <IncommingFriendComponent> friend, [JoinAll] SingleNode <SelfUserComponent> user) { base.ScheduleEvent(new AcceptFriendEvent(friend.Entity), user); }