Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
AM_Picker.Result Struct Reference

Public Member Functions

string GetText ()
 

Public Attributes

RecipeSource source
 
SourceMaterial.Row mat
 
Thing thing
 

Properties

bool IsValid [get]
 
string category [get]
 

Detailed Description

Definition at line 6 of file AM_Picker.cs.

Member Function Documentation

◆ GetText()

string AM_Picker.Result.GetText ( )
inline

Definition at line 18 of file AM_Picker.cs.

19 {
20 return source.Name + (EClass.debug.showExtra ? (":" + source.id) : "") + "(" + mat.GetName() + (EClass.debug.showExtra ? (":" + mat.id) : "") + ")" + (EClass.player.recipes.IsKnown(source.id) ? "" : (Environment.NewLine + "noRecipe".lang()));
21 }
Definition: EClass.cs:5
static Player player
Definition: EClass.cs:12
RecipeManager recipes
Definition: Player.cs:898
bool IsKnown(string id)
SourceMaterial.Row mat
Definition: AM_Picker.cs:10
RecipeSource source
Definition: AM_Picker.cs:8

References RecipeSource.id, RecipeManager.IsKnown(), AM_Picker.Result.mat, EClass.player, Player.recipes, and AM_Picker.Result.source.

Referenced by BaseTileSelector.RefreshMouseInfo().

Member Data Documentation

◆ mat

SourceMaterial.Row AM_Picker.Result.mat

Definition at line 10 of file AM_Picker.cs.

Referenced by AM_Picker.Result.GetText().

◆ source

RecipeSource AM_Picker.Result.source

Definition at line 8 of file AM_Picker.cs.

Referenced by AM_Picker.Result.GetText().

◆ thing

Thing AM_Picker.Result.thing

Definition at line 12 of file AM_Picker.cs.

Property Documentation

◆ category

string AM_Picker.Result.category
get

Definition at line 16 of file AM_Picker.cs.

◆ IsValid

bool AM_Picker.Result.IsValid
get

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