Candide.CandideUI.JobUiNew.UserControls.MiddleRecipesUserControl
Type JSONpublic class in Candide.CandideUI.JobUiNew.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.JobUiNew.UserControls - Base type
Candide.CandideUI.Containers.CandidePanel - Hash
A633573378D189F7AE0740F87FA4265CB431DECB6DB1BEA13577B5D2F0896EEA
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
SelectedRecipe# | public | public System.String SelectedRecipe |
_activeFilter# | private | private Candide.CandideUI.Helpers.WorkRecipeFilter _activeFilter |
_lastCitizenJobLevel# | private | private System.Int32 _lastCitizenJobLevel |
_listItems# | private | private System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem> _listItems |
_recipeDetailsView# | private | private Candide.CandideUI.JobUiNew.UserControls.SubControls.RecipeDetailsUserControl _recipeDetailsView |
_recipeList# | private | private Candide.CandideUI.Containers.CandideListView _recipeList |
_searchBar# | private | private Candide.CandideUI.UserControls.SearchBar _searchBar |
_tagButtonsGrid# | private | private Candide.CandideUI.Containers.CandideGrid _tagButtonsGrid |
Methods
CheckRecipeAvailability
#
private System.Boolean CheckRecipeAvailability(Shared.Data.DataModels.WorkRecipeModel recipe, System.Int32 newCitizenLevel)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
7ECFA914A37EA2C6C511379442C5C37B101B05093922DB7F4D2A3A816F6897D5 - Body hash
84E5956B9857EAE224D855CE320AFAB3C9251DAE0FAD899556FEB58752E3D64A - IL size112
Referenced calls
Candide.CandideUI.JobUiNew.JobUiContext::get_State()System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Jobs.Job>::TryGetValue(!0, !1&)Candide.GameModels.GameState::TryGetActiveInventory(System.Guid, Candide.GameModels.Models.Items.SimpleInventory&)Candide.GameModels.Controllers.JobsController::CanAffordWorkOrder(Shared.Data.DataModels.WorkRecipeModel, Candide.GameModels.Models.Items.SimpleInventory, Candide.CandideUI.JobUiNew.State.JobInventoryStorageState, Candide.CandideUI.JobUiNew.State.JobOrdersState, Candide.CandideUI.JobUiNew.State.JobResourceStorageState)
OnControllerNextWindowNavigation
#
public System.Boolean OnControllerNextWindowNavigation(System.Boolean forward)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
C01BE933ACD73B22C6B14E8B4A37FDCCD229EC1E4F14C1622DFADBC71230C22F - Body hash
582608B1C081AD2E3EC95A613F43787CBE9FC2515ADB46629BAADDE267F765EE - IL size127
Referenced calls
Candide.CandideUI.JobUiNew.JobUiContext::get_State()Candide.CandideUI.CandideUiContainerMultipleItems::GetChild(System.Int32)Candide.CandideUI.Components.Buttons.CandideToggleButton::set_IsToggled(System.Boolean)
OnRecipesChanged
#
private System.Void OnRecipesChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F0253F89C64C26143FA43AE3DF3045663A7EF7BF931130C02346961F86610AB9 - Body hash
48980610DD1273A39AE2003EB2287885A2DD8D4727C556C3E1AF439A589743AE - IL size1155
Referenced calls
Candide.CandideUI.JobUiNew.JobUiContext::get_State()System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Jobs.Job>::TryGetValue(!0, !1&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()Candide.GameModels.GameState::TryGetActiveCitizen(System.Guid, Candide.GameModels.Models.Citizens.Citizen&)CandideServer.Models.Citizen.CitizenModel::GetCurrentJobLevel()System.Collections.Generic.HashSet<System.String>::.ctor()System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::get_Keys()Dictionary.KeyCollection<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::GetEnumerator()Dictionary.KeyCollection.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::get_Current()System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::TryGetValue(!0, !1&)System.Collections.Generic.HashSet<System.String>::Add(!0)Candide.CandideUI.Helpers.WorkRecipeFilter::SatisfiesFilter(Shared.Data.DataModels.WorkRecipeModel)Shared.Data.DataModels.WorkRecipeModel::GetName()Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)Candide.CandideUI.UserControls.SearchBar::MatchesText(System.String)Dictionary.KeyCollection.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::get_Keys()Dictionary.KeyCollection<System.String, Shared.Data.DataModels.WorkRecipeModel>::GetEnumerator()Dictionary.KeyCollection.Enumerator<System.String, Shared.Data.DataModels.WorkRecipeModel>::get_Current()System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::ContainsKey(!0)Dictionary.KeyCollection.Enumerator<System.String, Shared.Data.DataModels.WorkRecipeModel>::MoveNext()System.Collections.Generic.HashSet<System.String>::GetEnumerator()HashSet.Enumerator<System.String>::get_Current()System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::get_Item(!0)Candide.CandideUI.Containers.CandideListView::RemoveItem(Candide.CandideUI.CandideUiElement)System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::Remove(!0)HashSet.Enumerator<System.String>::MoveNext()System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::GetEnumerator()Dictionary.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::Deconstruct(!0&, !1&)
Called by
String literals
numeral:
OnUiClosePressed
#
public System.Boolean OnUiClosePressed()
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
29B352DE075C27D6A04CF832BA7D04BFB7686A8FFA5B83D77FDB7F38294F8ADE - Body hash
15F55E575CE4D80FA29CA8F83F5F335010BC7115D85782B7F0A8B15D43B336D0 - IL size51
Referenced calls
Candide.CandideUI.CandideUiElement::GetFocusable()Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.CandideUI.CandideUiElement::RequestFocus()Candide.CandideUI.CandideUiContainerMultipleItems::OnUiClosePressed()
RecipeListOnSelectedChanged
#
private System.Void RecipeListOnSelectedChanged(System.Object sender, Candide.CandideUI.CandideUiElement e)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
EC6B94857A1E9177C0BE359DA6433A5869A4C9FA62FB28A70F234E71FCEA171E - Body hash
EA2FE54348D46ACB5EEA215A7523F815E125F648A868E1CFD48DE0FDBA94C250 - IL size153
Referenced calls
Candide.CandideUI.JobUiNew.UserControls.SubControls.RecipeDetailsUserControl::SelectedRecipeChanged(System.String)System.String::op_Inequality(System.String, System.String)System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::GetEnumerator()Dictionary.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::Deconstruct(!0&, !1&)System.String::op_Equality(System.String, System.String)Candide.CandideUI.Components.Buttons.CandideToggleButton::SetToggleSilent(System.Boolean)Dictionary.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::MoveNext()System.IDisposable::Dispose()
SearchBarOnSearchUpdated
#
private System.Void SearchBarOnSearchUpdated(System.Object sender, Candide.CandideUI.ValueChangedEventArgs<System.String> e)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
FB8CDC875542F397B006EF14B4975DE47688038416D8E04F38EF5A7E456D226E - Body hash
50E17CBEAE838D8F9FC061BCA4BDCA6F5D016761DD916226CC9D8E00724B182C - IL size7
SetInventoryState
#
public System.Void SetInventoryState(Candide.CandideUI.JobUiNew.State.JobInventoryStorageState inventoryStorageState, Candide.CandideUI.JobUiNew.State.JobResourceStorageState resourceStorageState, Candide.CandideUI.JobUiNew.State.JobPlayerInventoryState playerInventoryState)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3FAC22E464E8BBD3AD43460D32C75445843D1AF586E243BA8F9CAAD9CFBB08B5 - Body hash
6B6255F4B849F2CB56F0B4FCF3DDD3B6E50AC82FB93B8DC70F03468ED9410F46 - IL size122
Referenced calls
System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::GetEnumerator()Dictionary.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::Deconstruct(!0&, !1&)Shared.Data.WorkRecipeDataBase::GetRecipeOrNull(System.String)Candide.CandideUI.JobUiNew.UserControls.MiddleRecipesUserControl::CheckRecipeAvailability(Shared.Data.DataModels.WorkRecipeModel, System.Int32)Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem::set_TextColor(Microsoft.Xna.Framework.Color)Dictionary.Enumerator<System.String, Candide.CandideUI.JobUiNew.Components.CandideRecipeListItem>::MoveNext()System.IDisposable::Dispose()Candide.CandideUI.JobUiNew.UserControls.SubControls.RecipeDetailsUserControl::SetInventoryState(Candide.CandideUI.JobUiNew.State.JobInventoryStorageState, Candide.CandideUI.JobUiNew.State.JobResourceStorageState, Candide.CandideUI.JobUiNew.State.JobPlayerInventoryState)
SetRecipesState
#
public System.Void SetRecipesState(Candide.CandideUI.JobUiNew.State.JobRecipesState recipesState)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3B7338A8FC0DA3DC34EE005A43AADF3E21AB04BFEEF6EB631A905780E811ABB5 - Body hash
0DBB2E3D5B4432720B65C14561758E4068D8F42C7AF7E8B51F7A0C606A566FF8 - IL size289
Referenced calls
Candide.CandideUI.CandideUiElement::set_Visible(System.Boolean)Candide.CandideUI.CandideUiContainerMultipleItems::get_ChildrenCount()MiddleRecipesUserControl.<>c__DisplayClass11_0::.ctor()Candide.CandideUI.Components.Buttons.CandideToggleButton::.ctor()Candide.CandideUI.CandideUiElement::set_GridColumn(System.Int32)Candide.CandideUI.Components.Buttons.CandideToggleButton::set_IsToggled(System.Boolean)Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)Candide.CandideUI.CandideThickness::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)Candide.CandideUI.CandideUiElement::set_Padding(Candide.CandideUI.CandideThickness)MiddleRecipesUserControl.<>c::<SetRecipesState>b__11_1()System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Buttons.CandideToggleButton::set_GetPreferredTooltipGrowthDirection(System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>)MiddleRecipesUserControl.<>c__DisplayClass11_0::<SetRecipesState>b__2()System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Buttons.CandideToggleButton::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)Candide.CandideUI.Components.CandideIcon::.ctor(CandideCreator.Shared.Graphics.IconFlag)Candide.CandideUI.Components.CandideIcon::set_Icon(System.String)Candide.CandideUI.CandideUiContainerSingleItem::SetChild(Candide.CandideUI.CandideUiElement)MiddleRecipesUserControl.<>c__DisplayClass11_0::<SetRecipesState>b__0(System.Object, System.EventArgs)System.EventHandler::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Buttons.CandideToggleButton::add_ToggledOn(System.EventHandler)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)Candide.CandideUI.JobUiNew.UserControls.MiddleRecipesUserControl::OnRecipesChanged()