Skip to content

Game.UI.Editor.Widgets.ItemPickerPopupAdapter`1

Assembly: Game
Namespace: Game.UI.Editor.Widgets

Type: class public

Base: System.Object
Implements: Game.UI.Editor.ItemPicker<Game.UI.Editor.Widgets.ItemPickerPopup<T>>, Game.UI.Editor.PopupSearchField+IAdapter, Game.UI.Editor.SearchField+IAdapter, Game.UI.Editor.ItemPickerFooter+IAdapter

Code

public class ItemPickerPopupAdapter<T> : Game.UI.Editor.ItemPicker<Game.UI.Editor.Widgets.ItemPickerPopup<T>>, Game.UI.Editor.PopupSearchField+IAdapter, Game.UI.Editor.SearchField+IAdapter, Game.UI.Editor.ItemPickerFooter+IAdapter
{
    public System.Action<T> onSelectedItemChanged;
    private readonly System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> <filteredItems>k__BackingField;
    private System.Int32 <columnCount>k__BackingField;
    private System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> m_Items;
    private Game.UI.Editor.Widgets.ItemPickerPopup<T> m_SelectedItem;
    private System.String m_SearchQuery;
    private System.Boolean m_FilteredItemsDirty;

    public Game.UI.Editor.Widgets.ItemPickerPopup<T> selectedItem { get; set; }
    public T selectedValue { get; set; }
    public System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> items { get; }
    public System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> filteredItems { get; }
    public System.Int32 length { get; }
    public System.Int32 columnCount { get; set; }
    public System.String searchQuery { get; set; }
    public System.Collections.Generic.IEnumerable<Game.UI.Editor.PopupSearchField+Suggestion> searchSuggestions { get; }
    public System.Boolean searchQueryIsFavorite { get; }

    public ItemPickerPopupAdapter`1();

    public System.Void SetFavorite(System.Int32 index, System.Boolean favorite);
    public System.Void SetFavorite(System.String query, System.Boolean favorite);
    public System.Void SetItems(System.Collections.Generic.IEnumerable<Game.UI.Editor.Widgets.ItemPickerPopup<T>> newItems);
    public System.Boolean Update();
    private System.Void UpdateFilteredItems();
}

Fields

  • public System.Action<T> onSelectedItemChanged
public System.Action<T> onSelectedItemChanged;
  • private readonly System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> <filteredItems>k__BackingField
private readonly System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> <filteredItems>k__BackingField;
  • private System.Int32 <columnCount>k__BackingField
private System.Int32 <columnCount>k__BackingField;
  • private System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> m_Items
private System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> m_Items;
  • private Game.UI.Editor.Widgets.ItemPickerPopup<T> m_SelectedItem
private Game.UI.Editor.Widgets.ItemPickerPopup<T> m_SelectedItem;
  • private System.String m_SearchQuery
private System.String m_SearchQuery;
  • private System.Boolean m_FilteredItemsDirty
private System.Boolean m_FilteredItemsDirty;

Properties

  • public Game.UI.Editor.Widgets.ItemPickerPopup<T> selectedItem { get; set }
public Game.UI.Editor.Widgets.ItemPickerPopup<T> selectedItem { get; set; }
  • public T selectedValue { get; set }
public T selectedValue { get; set; }
  • public System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> items { get }
public System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> items { get; }
  • public System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> filteredItems { get }
public System.Collections.Generic.List<Game.UI.Editor.Widgets.ItemPickerPopup<T>> filteredItems { get; }
  • public System.Int32 length { get }
public System.Int32 length { get; }
  • public System.Int32 columnCount { get; set }
public System.Int32 columnCount { get; set; }
  • public System.String searchQuery { get; set }
public System.String searchQuery { get; set; }
  • public System.Collections.Generic.IEnumerable<Game.UI.Editor.PopupSearchField+Suggestion> searchSuggestions { get }
public System.Collections.Generic.IEnumerable<Game.UI.Editor.PopupSearchField+Suggestion> searchSuggestions { get; }
  • public System.Boolean searchQueryIsFavorite { get }
public System.Boolean searchQueryIsFavorite { get; }

Constructors

  • public ItemPickerPopupAdapter1()`
public ItemPickerPopupAdapter`1();

Methods

  • public SetFavorite(System.Int32 index, System.Boolean favorite) : System.Void
public System.Void SetFavorite(System.Int32 index, System.Boolean favorite);
  • public SetFavorite(System.String query, System.Boolean favorite) : System.Void
public System.Void SetFavorite(System.String query, System.Boolean favorite);
  • public SetItems(System.Collections.Generic.IEnumerable<Game.UI.Editor.Widgets.ItemPickerPopup<T>> newItems) : System.Void
public System.Void SetItems(System.Collections.Generic.IEnumerable<Game.UI.Editor.Widgets.ItemPickerPopup<T>> newItems);
  • public Update() : System.Boolean
public System.Boolean Update();
  • private UpdateFilteredItems() : System.Void
private System.Void UpdateFilteredItems();

Nested types

  • Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T>
  • Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T>
  • Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T>
  • Game.UI.Editor.Widgets.ItemPickerPopupAdapter<T>