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);
 }
Example #3
0
 public void MarkMountedItem(ShowGarageItemsEvent e, [Combine] MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList)
 {
     this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, true);
 }
Example #4
0
 public void UnMarkMountedItem(NodeRemoveEvent e, MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList)
 {
     this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, false);
 }
Example #5
0
 public void MarkMountedItem(NodeAddedEvent e, MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList)
 {
     this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, true);
 }