public void ShowEquippedButton(NodeAddedEvent e, MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] SingleNode <SelectedItemComponent> selectedItemNode) { if (ReferenceEquals(selectedItemNode.component.SelectedItem, item.Entity)) { this.ShowMountButton(screenNode, false); } }
public void ShowEquippedButton(ListItemSelectedEvent e, MountedUserItemNode item, [JoinAll] ScreenNode screenNode) { this.ShowMountButton(screenNode, false); }
public void MarkMountedItem(ShowGarageItemsEvent e, [Combine] MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList) { this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, true); }
public void UnMarkMountedItem(NodeRemoveEvent e, MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList) { this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, false); }
public void MarkMountedItem(NodeAddedEvent e, MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList) { this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, true); }