Elin Modding Docs Doc
Loading...
Searching...
No Matches
DropdownGrid Class Reference
Inheritance diagram for DropdownGrid:
EMono

Public Member Functions

void Build (List< GridItem > items)
 
List< ThingListIngredients (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 Public Attributes inherited from EMono
static Core core
 

Additional Inherited Members

- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Properties inherited from EMono
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]
 

Detailed Description

Definition at line 7 of file DropdownGrid.cs.

Member Function Documentation

◆ Activate()

void DropdownGrid.Activate ( Recipe.Ingredient ingredient,
List< Thing > things )

Definition at line 206 of file DropdownGrid.cs.

◆ Build()

void DropdownGrid.Build ( List< GridItem > items)

Definition at line 22 of file DropdownGrid.cs.

◆ BuildIngredients()

void DropdownGrid.BuildIngredients ( Recipe _recipe,
Image _icon,
Action _onValueChange,
StockSearchMode _searchMode )

Definition at line 61 of file DropdownGrid.cs.

◆ Deactivate()

void DropdownGrid.Deactivate ( )

Definition at line 268 of file DropdownGrid.cs.

◆ ListIngredients()

List< Thing > DropdownGrid.ListIngredients ( Recipe.Ingredient ingredient,
StockSearchMode searchMode )

Definition at line 55 of file DropdownGrid.cs.

◆ Next()

void DropdownGrid.Next ( )

Definition at line 324 of file DropdownGrid.cs.

◆ OnChangeIngredient()

void DropdownGrid.OnChangeIngredient ( )

Definition at line 249 of file DropdownGrid.cs.

◆ OnDestroy()

void DropdownGrid.OnDestroy ( )

Definition at line 278 of file DropdownGrid.cs.

◆ Prev()

void DropdownGrid.Prev ( )

Definition at line 330 of file DropdownGrid.cs.

◆ Redraw()

void DropdownGrid.Redraw ( )

Definition at line 200 of file DropdownGrid.cs.

◆ TrySelect()

void DropdownGrid.TrySelect ( int a)

Definition at line 285 of file DropdownGrid.cs.

Member Data Documentation

◆ fixPos

Vector3 DropdownGrid.fixPos

Definition at line 372 of file DropdownGrid.cs.

◆ icon

Image DropdownGrid.icon

Definition at line 360 of file DropdownGrid.cs.

◆ Instance

DropdownGrid DropdownGrid.Instance
static

Definition at line 339 of file DropdownGrid.cs.

◆ IsActive

bool DropdownGrid.IsActive
static

Definition at line 336 of file DropdownGrid.cs.

◆ lastMats

Dictionary<string, int> DropdownGrid.lastMats = new Dictionary<string, int>()

Definition at line 382 of file DropdownGrid.cs.

◆ list

UIList DropdownGrid.list

Definition at line 342 of file DropdownGrid.cs.

◆ listDrop

UIList DropdownGrid.listDrop

Definition at line 345 of file DropdownGrid.cs.

◆ onValueChange

Action DropdownGrid.onValueChange

Definition at line 366 of file DropdownGrid.cs.

◆ pivot

RectTransform DropdownGrid.pivot

Definition at line 354 of file DropdownGrid.cs.

◆ recipe

Recipe DropdownGrid.recipe

Definition at line 357 of file DropdownGrid.cs.

◆ recipeInfo

UIRecipeInfo DropdownGrid.recipeInfo

Definition at line 378 of file DropdownGrid.cs.

◆ rectDrop

RectTransform DropdownGrid.rectDrop

Definition at line 348 of file DropdownGrid.cs.

◆ rectDropContent

RectTransform DropdownGrid.rectDropContent

Definition at line 351 of file DropdownGrid.cs.

◆ searchMode

StockSearchMode DropdownGrid.searchMode

Definition at line 375 of file DropdownGrid.cs.

◆ slots

int DropdownGrid.slots = 4

Definition at line 369 of file DropdownGrid.cs.

◆ soundPop

SoundData DropdownGrid.soundPop

Definition at line 363 of file DropdownGrid.cs.


The documentation for this class was generated from the following file: