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 Unblock(ConfirmButtonClickYesEvent e, Node node, [JoinAll, Combine] SingleNode <SimpleHorizontalListComponent> list) { list.component.IsKeyboardNavigationAllowed = true; }
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(); }