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);
 }
Beispiel #2
0
 public void Unblock(ConfirmButtonClickYesEvent e, Node node, [JoinAll, Combine] SingleNode <SimpleHorizontalListComponent> list)
 {
     list.component.IsKeyboardNavigationAllowed = true;
 }
Beispiel #3
0
 public void BuyContainers(ConfirmButtonClickYesEvent e, ButtonNode buyButton, [JoinByScreen] SingleNode <SelectedItemComponent> selectedItem)
 {
     Entity[] entities = new Entity[] { selectedItem.component.SelectedItem, buyButton.Entity };
     base.NewEvent <BuySelectedContainerItemEvent>().AttachAll(entities).Schedule();
 }