Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | Build (List< GridItem > items) |
List< Thing > | ListIngredients (Recipe.Ingredient ingredient, StockSearchMode searchMode) |
void | BuildIngredients (Recipe _recipe, Image _icon, Action _onValueChange, StockSearchMode _searchMode) |
void | Redraw () |
void | Activate (Recipe.Ingredient ingredient, List< Thing > things) |
void | OnChangeIngredient () |
void | Deactivate () |
void | OnDestroy () |
void | TrySelect (int a) |
void | Next () |
void | Prev () |
Public Attributes | |
UIList | list |
UIList | listDrop |
RectTransform | rectDrop |
RectTransform | rectDropContent |
RectTransform | pivot |
Recipe | recipe |
Image | icon |
SoundData | soundPop |
Action | onValueChange |
int | slots = 4 |
Vector3 | fixPos |
StockSearchMode | searchMode |
UIRecipeInfo | recipeInfo |
Dictionary< string, int > | lastMats = new Dictionary<string, int>() |
Static Public Attributes | |
static bool | IsActive |
static DropdownGrid | Instance |
![]() | |
static Core | core |
Private Member Functions | |
void | Awake () |
void | Update () |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SoundManager | Sound [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static CoreDebug | debug [get] |
Definition at line 6 of file DropdownGrid.cs.
|
inline |
Definition at line 259 of file DropdownGrid.cs.
References UIList.Add(), UIList.Clear(), Deactivate(), fixPos, Instance, LayerCraft.Instance, IsActive, UIList.items, listDrop, OnChangeIngredient(), LayerCraft.OnChangeIngredient(), onValueChange, recipe, rectDrop, UIList.Refresh(), Recipe.SaveLastIngredients(), ButtonGrid.SetIngredient(), soundPop, and EMono.ui.
Referenced by BuildIngredients().
|
inlineprivate |
Definition at line 41 of file DropdownGrid.cs.
References rectDrop.
|
inline |
Definition at line 51 of file DropdownGrid.cs.
References UIList.Add(), UIList.Clear(), list, GridItem.OnClick(), UIList.Refresh(), GridItem.SetButton(), and slots.
Referenced by UIRecipeInfo.RefreshList().
|
inline |
Definition at line 88 of file DropdownGrid.cs.
References EMono._map, Activate(), UIList.Add(), Card.Add(), card, UIList.Clear(), ThingGen.Create(), ThingGen.CreateFromCategory(), EMono.debug, Recipe.DefaultMaterial, Props.Find(), ThingContainer.Find(), CoreDebug.godBuild, icon, Recipe.id, Recipe.ingredients, Thing.IsValidIngredient(), item, RecipeManager.lastIngredients, lastMats, list, ListIngredients(), Card.material, Card.Num, onValueChange, Card.parent, EMono.pc, EMono.player, recipe, Player.recipes, rectDrop, UIList.Refresh(), searchMode, ButtonGrid.SetIngredient(), Card.SetNum(), slots, Map.Stocked, Card.things, and Card.uid.
Referenced by UIRecipeInfo.RefreshList().
|
inline |
Definition at line 331 of file DropdownGrid.cs.
References IsActive, and rectDrop.
Referenced by Activate(), and ActionMode.UpdateInput().
|
inline |
Definition at line 83 of file DropdownGrid.cs.
References EMono._map, ThingStack.list, Props.ListThingStack(), searchMode, and Map.Stocked.
Referenced by BuildIngredients().
|
inline |
Definition at line 383 of file DropdownGrid.cs.
References TrySelect().
Referenced by Scene.OnUpdate().
|
inline |
Definition at line 314 of file DropdownGrid.cs.
References RenderRow.GetColorInt(), Recipe.GetColorMaterial(), icon, Recipe.idSkin, list, Recipe.OnChangeIngredient(), recipe, rectDrop, UIList.Redraw(), Recipe.renderRow, and RenderRow.SetImage().
Referenced by Activate(), and TrySelect().
|
inline |
|
inline |
Definition at line 388 of file DropdownGrid.cs.
References TrySelect().
Referenced by Scene.OnUpdate().
|
inline |
Definition at line 254 of file DropdownGrid.cs.
References list, and UIList.Redraw().
Referenced by UIRecipeInfo.RefreshBalance().
|
inline |
Definition at line 346 of file DropdownGrid.cs.
References EMono._map, ButtonGrid.ing, LayerCraft.Instance, TooltipManager.Instance, list, ThingStack.list, Props.ListThingStack(), OnChangeIngredient(), recipeInfo, UIRecipeInfo.RefreshImages(), LayerCraft.RefreshProduct(), TooltipManager.ResetTooltips(), searchMode, Recipe.Ingredient.SetThing(), UIButton.ShowTooltip(), Map.Stocked, and Recipe.Ingredient.thing.
|
inlineprivate |
Vector3 DropdownGrid.fixPos |
Definition at line 32 of file DropdownGrid.cs.
Referenced by Activate().
Image DropdownGrid.icon |
Definition at line 24 of file DropdownGrid.cs.
Referenced by BuildIngredients(), and OnChangeIngredient().
|
static |
Definition at line 10 of file DropdownGrid.cs.
Referenced by Activate(), and ActionMode.UpdateInput().
|
static |
Definition at line 8 of file DropdownGrid.cs.
Referenced by Activate(), Deactivate(), OnDestroy(), Scene.OnUpdate(), Update(), and ActionMode.UpdateInput().
Dictionary<string, int> DropdownGrid.lastMats = new Dictionary<string, int>() |
Definition at line 39 of file DropdownGrid.cs.
Referenced by BuildIngredients().
UIList DropdownGrid.list |
Definition at line 12 of file DropdownGrid.cs.
Referenced by Build(), BuildIngredients(), OnChangeIngredient(), Redraw(), and TrySelect().
UIList DropdownGrid.listDrop |
Definition at line 14 of file DropdownGrid.cs.
Referenced by Activate().
Action DropdownGrid.onValueChange |
Definition at line 28 of file DropdownGrid.cs.
Referenced by Activate(), and BuildIngredients().
RectTransform DropdownGrid.pivot |
Definition at line 20 of file DropdownGrid.cs.
Referenced by LayerCraft.OnAfterInit().
Recipe DropdownGrid.recipe |
Definition at line 22 of file DropdownGrid.cs.
Referenced by Activate(), BuildIngredients(), and OnChangeIngredient().
UIRecipeInfo DropdownGrid.recipeInfo |
Definition at line 36 of file DropdownGrid.cs.
Referenced by TrySelect().
RectTransform DropdownGrid.rectDrop |
Definition at line 16 of file DropdownGrid.cs.
Referenced by Activate(), Awake(), BuildIngredients(), Deactivate(), OnChangeIngredient(), OnDestroy(), and Update().
RectTransform DropdownGrid.rectDropContent |
Definition at line 18 of file DropdownGrid.cs.
StockSearchMode DropdownGrid.searchMode |
Definition at line 34 of file DropdownGrid.cs.
Referenced by BuildIngredients(), ListIngredients(), and TrySelect().
int DropdownGrid.slots = 4 |
Definition at line 30 of file DropdownGrid.cs.
Referenced by Build(), and BuildIngredients().
SoundData DropdownGrid.soundPop |
Definition at line 26 of file DropdownGrid.cs.
Referenced by Activate().