Candide.CandideUI.UserControls.ResourceRequirementsControl
Type JSONpublic class in Candide.CandideUI.UserControls
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.UserControls - Base type
Candide.CandideUI.CandideUiContainerSingleItem - Hash
2955D76FA844AAC4287D39E96C218F488AFDCEE3FDAD765B137F168CBF1C7148
Relationships
Base type
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
RequirementsMetChanged# | private | private ResourceRequirementsControl.RequirementsMetChangedEvent RequirementsMetChanged |
_availableResources# | private | private Shared.Models.Construction.ConstructionMaterialsAggregate _availableResources |
_columnCount# | private | private System.Int32 _columnCount |
_displays# | private | private System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay> _displays |
_errorTextWrapper# | private | private Candide.CandideUI.Components.CandideErrorTextWrapper _errorTextWrapper |
_grid# | private | private Candide.CandideUI.Containers.CandideGrid _grid |
_requirementsMet# | private | private System.Boolean _requirementsMet |
_resourceRequirement# | private | private Shared.Models.Construction.ConstructionMaterialsAggregate _resourceRequirement |
Properties
| Name | Visibility | Signature |
|---|---|---|
AvailableResources# | public | public Shared.Models.Construction.ConstructionMaterialsAggregate AvailableResources |
ColumnCount# | public | public System.Int32 ColumnCount |
RequirementsMet# | public | public System.Boolean RequirementsMet |
ResourceRequirement# | public | public Shared.Models.Construction.ConstructionMaterialsAggregate ResourceRequirement |
Events
| Name | Visibility | Signature |
|---|---|---|
RequirementsMetChanged# | public | public ResourceRequirementsControl.RequirementsMetChangedEvent RequirementsMetChanged |
Methods
AvailableResourcesChanged
#
private System.Void AvailableResourcesChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
A81EE1002F232DF1B379C3DA12C5B8DF2C182F34B795ED80A7E6A468D2F42998 - Body hash
431757EA837F55CDE84C83E34CCB3C6BC2EB4DA6DC6FEFE0770CD02DE36A85D2 - IL size322
Referenced calls
CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.CandideUI.UserControls.ResourceRequirementsControl::set_RequirementsMet(System.Boolean)System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::GetEnumerator()Dictionary.Enumerator<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Key()System.Collections.Generic.Dictionary<System.String, System.Int32>::get_Item(!0)System.Collections.Generic.KeyValuePair<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::get_Value()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()Candide.CandideUI.Components.CandideTextLabel::set_Text(System.String)Shared.Models.Construction.ConstructionMaterialsAggregate::GetAmountForResource(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)Dictionary.Enumerator<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::MoveNext()System.IDisposable::Dispose()
String literals
ResourceRequirementsControl: ResourceRequirement is not set./
DisplayErrorMessage
#
public System.Void DisplayErrorMessage(System.String message)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
381DCD0DE134E92EE6E38117D6F7AE12FF8E9028D29DA577C02A415231B30526 - Body hash
B77E8F1B242D3CC6C8E3E85A7FF22556FA1AC30C88B63F357BF1048B0ADD31AD - IL size13
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2158DAB98E67DBC417874C6BA143363332848447FA08C1EFD04EAB766245180C - Body hash
913FB59CC96E92493AF2651959D74757982CE3BA1D3193D3423829246FDFCF26 - IL size18
ResetErrorMessage
#
public System.Void ResetErrorMessage()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BC5D29794E003A736689C3966E48B7D4638E89C8D1167597952C4A2A9063AD7A - Body hash
9BA7DC07257B00E9E12A069C17DE4EC6D2DACE354741E2F03CFD4582EA1E57CE - IL size13
Referenced calls
Candide.CandideUI.Components.CandideErrorTextWrapper::set_ShowingError(System.Boolean)
ResourceRequirementChanged
#
private System.Void ResourceRequirementChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
87A6A6EE4C46FD16929E875734F7364666725C6D2FC51E4DC453F33E72CD9DBC - Body hash
62470BFFB98D3A12B1093AF308AD8B74FCB53843276D1966F3EF4B9DFCD520EA - IL size307
Referenced calls
Candide.CandideUI.UserControls.ResourceRequirementsControl::get_ColumnCount()Candide.CandideUI.Containers.CandideGrid::ClearChildren()System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::Clear()System.Collections.Generic.Dictionary<System.String, System.Int32>::GetEnumerator()Dictionary.Enumerator<System.String, System.Int32>::get_Current()System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Value()ResourceRequirementsControl.<>c__DisplayClass24_0::.ctor()Candide.CandideUI.Components.Displays.MaterialRequirementDisplay::.ctor()Candide.CandideUI.CandideUiElement::set_GridColumn(System.Int32)Candide.CandideUI.CandideUiElement::set_GridRow(System.Int32)Candide.CandideUI.CandideThickness::.ctor(System.Int32)Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)ResourceRequirementsControl.<>c::<ResourceRequirementChanged>b__24_1()System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetPreferredTooltipGrowthDirection(System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>)System.Collections.Generic.KeyValuePair<System.String, System.Int32>::get_Key()Shared.Data.ConstructionResourcesDataBase::GetConstructionResourceOrMissing(System.String)Candide.CandideUI.Components.CandideIcon::set_Icon(System.String)ResourceRequirementsControl.<>c__DisplayClass24_0::<ResourceRequirementChanged>b__0()System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)System.Collections.Generic.Dictionary<System.String, Candide.CandideUI.Components.Displays.MaterialRequirementDisplay>::Add(!0, !1)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)Dictionary.Enumerator<System.String, System.Int32>::MoveNext()System.IDisposable::Dispose()Candide.CandideUI.CandideUiElement::InvalidateMeasure()