Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl
Type JSONpublic class in Candide.CandideUI.ConstructionsUi
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.ConstructionsUi - Base type
Candide.CandideUI.Containers.CandidePanel - Hash
9CB00F7A298CB8E94E5F52AD0A853B4065BCF70654DD7F01CA01E6F16CD423C9
Relationships
Fields
| Name | Visibility | Signature |
|---|---|---|
Columns# | private | private System.Int32 Columns |
ConstructionWasSelected# | private | private System.EventHandler<Shared.Models.Construction.ConstructionModel> ConstructionWasSelected |
HasTown# | public | public System.Boolean HasTown |
HoveredConstruction# | public | public System.String HoveredConstruction |
MaxDisplayAmount# | private | private System.Int32 MaxDisplayAmount |
TabChanged# | private | private System.EventHandler<System.Int32> TabChanged |
TabsAmount# | private | private System.Int32 TabsAmount |
_allConstructions# | private | private System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel> _allConstructions |
_categoriesPanel# | private | private Candide.CandideUI.Containers.CandideHorizontalStackPanel _categoriesPanel |
_constructionsGrid# | private | private Candide.CandideUI.Containers.CandideGrid _constructionsGrid |
_currentPage# | private | private System.Int32 _currentPage |
_pageSpinner# | private | private Candide.CandideUI.Input.CandideIntSpinner _pageSpinner |
_tab# | private | private Shared.Models.Construction.ConstructionUiCategory _tab |
_title# | private | private Candide.CandideUI.Components.TranslationCenteredTextLayout _title |
Properties
| Name | Visibility | Signature |
|---|---|---|
CurrentPage# | public | public System.Int32 CurrentPage |
Tab# | public | public Shared.Models.Construction.ConstructionUiCategory Tab |
Events
| Name | Visibility | Signature |
|---|---|---|
ConstructionWasSelected# | public | public System.EventHandler<Shared.Models.Construction.ConstructionModel> ConstructionWasSelected |
TabChanged# | public | public System.EventHandler<System.Int32> TabChanged |
Methods
ControllerIncrementTab
#
private System.Void ControllerIncrementTab(System.Int32 increment)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
52B0166943C1F0B7A52CC5D140ABAC45398BD997A98563EB71E40C0631D7549E - Body hash
768867343D1326A2A66E3B7CECD41E32A87DC72F57167A3823B29981DC49A855 - IL size39
Referenced calls
Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::get_Tab()Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::set_Tab(Shared.Models.Construction.ConstructionUiCategory)Candide.CandideUI.CandideUiElement::RequestFocus()
OnControllerNextWindowNavigation
#
public System.Boolean OnControllerNextWindowNavigation(System.Boolean forward)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
62092C6B362A6EA24F4CE62024B08BA72B7D8D3053F4991E826C4E74C1033FE6 - Body hash
8DC1542B358F7E44D0385153F6A8333D70ABB5DE501EDF2A59030059D352C2BA - IL size46
OnCurrentPageChanged
#
private System.Void OnCurrentPageChanged()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9E2B238B30B2621B8C42A694AA1ED08D2A6B263F12F44FE3E1556A9BE8A955CA - Body hash
D26E82E303118D6610741B180BECF9E91732434CBF5B4CC5B0DCE6125523FAD1 - IL size7
SetState
#
public System.Void SetState(System.Boolean hasTown, System.Boolean availableConstructionsHasChanged)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
33C1254D1F83BC336A422C093D164EDE0A40248D37EBDEC1B8B280A95F78F4C8 - Body hash
5BDF1782BD3336C50739EEDC1332C65DEAE0F5239FE37CD20ECF0518A38DEC3C - IL size33
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
20166D2C7726010F2938BF1D084D95D026F8D998BD65A6F86C4C76F46EF39D09 - Body hash
B5F05D5F037C0B1FF3EFE2DB049EB34712D510F293C09AF2DD3CE9F654A5780A - IL size15
UpdateLayout
#
private System.Void UpdateLayout()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
F9D9DE1ABD2BA142B0042C9D395905DE9221A4F1E48A203C7C384BCEE8663257 - Body hash
C1C312D2D18F9E66C2CFE67623A182D7B75CA94CCF95588D9E210996C73EE003 - IL size305
Referenced calls
Candide.CandideUI.Containers.CandideGrid::ClearChildren()Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::get_CurrentPage()System.Linq.Enumerable::Skip(System.Collections.Generic.IEnumerable<!!0>, System.Int32)System.Collections.Generic.IEnumerable<Shared.Models.Construction.ConstructionModel>::GetEnumerator()ConstructionsOptionsControl.<>c__DisplayClass27_0::.ctor()System.Collections.Generic.IEnumerator<Shared.Models.Construction.ConstructionModel>::get_Current()ConstructionsOptionsControl.CandideConstructionButton::.ctor(Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl, System.String, CandideCreator.Shared.Graphics.IconFlag, System.String, System.Boolean)Candide.CandideUI.CandideUiElement::set_GridColumn(System.Int32)Candide.CandideUI.CandideUiElement::set_GridRow(System.Int32)Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)Candide.CandideUI.CandideUiElement::set_VerticalAlignment(Candide.CandideUI.VerticalAlignment)Candide.CandideUI.CandideThickness::.ctor(System.Int32)Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)ConstructionsOptionsControl.<>c__DisplayClass27_0::<UpdateLayout>b__0()System.Action::.ctor(System.Object, System.IntPtr)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()Candide.CandideUI.Components.Holder.CandideHolderBase::.ctor()
Called by
String literals
sam
UpdateOptions
#
private System.Void UpdateOptions()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
1FDA923C602C86154617063E5C110DDA860DD64B829ED9578420D1E18C95098D - Body hash
1C91638F763B0354EB19CCE1751396B0ED1A7048CB994638C9258466F0662CE1 - IL size180
Referenced calls
System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::Clear()System.Collections.Generic.HashSet<System.String>::GetEnumerator()HashSet.Enumerator<System.String>::get_Current()Shared.Data.ConstructionDataBase::GetConstructionOrNull(System.String)System.String::Concat(System.String, System.String)CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::<UpdateOptions>g__CompareFunc|26_0(Shared.Models.Construction.ConstructionModel)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::Add(!0)HashSet.Enumerator<System.String>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::get_Count()Candide.CandideUI.Input.CandideIntSpinner::set_Max(System.Int32)Candide.CandideUI.Input.CandideIntSpinner::get_Max()Candide.CandideUI.CandideUiElement::set_Visible(System.Boolean)Candide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::UpdateLayout()
String literals
Couldn't find construction with ID