Esempio n. 1
0
        public void MarkUserItems(ShowGarageItemsEvent e, [Combine] ContainerContentItemNode containerContentItem, [JoinAll] ContainerContentScreenNode screenNode)
        {
            Entity entity = Flow.Current.EntityRegistry.GetEntity(containerContentItem.simpleContainerContentItem.MarketItemId);

            if (base.Select <SingleNode <UserItemComponent> >(entity, typeof(MarketItemGroupComponent)).Count > 0)
            {
                this.MarkItem(containerContentItem.garageListItem.gameObject, true);
            }
        }
Esempio n. 2
0
 public void MoveToMountedItem(ShowGarageItemsEvent e, [Combine] SelectedMountedUserItemNode item, [JoinAll] ScreenNode screenNode)
 {
     screenNode.simpleHorizontalList.MoveToItem(item.Entity);
 }
Esempio n. 3
0
 public void AddItems(ShowGarageItemsEvent e, ICollection <MarketItem> marketItems, ICollection <UserItem> userItems, ICollection <SingleNode <MountedItemComponent> > mountedItems, ICollection <ContainerContentItemNode> containerContentItems, ICollection <SingleNode <SlotUserItemInfoComponent> > slotItems, [JoinAll] ScreenNode screen, [JoinByScreen] SingleNode <SimpleHorizontalListComponent> horizontalListNode, [JoinByScreen] Optional <SingleNode <SelectedItemComponent> > selectedItemNode)
 {
Esempio n. 4
0
 public void MarkMountedItem(ShowGarageItemsEvent e, [Combine] MountedUserItemNode item, [JoinAll] ScreenNode screenNode, [JoinByScreen] ItemsListNode itemsList)
 {
     this.MarkItem(item.Entity, itemsList.itemsListForView.Items, screenNode, true);
 }