Romestead Assembly Reference

Candide.CandideUI.ConstructionsUi.ConstructionDetailsDisplayWindow

Type JSON

public class in Candide.CandideUI.ConstructionsUi

Methods4
Properties0
Fields13
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
_appealTextprivateprivate Candide.CandideUI.Components.CandideIconLabel _appealText
_buildingAppealPanelprivateprivate Candide.CandideUI.Containers.CandideVerticalStackPanel _buildingAppealPanel
_buildingGridExtrasprivateprivate Candide.CandideUI.Containers.CandideGrid _buildingGridExtras
_citizenSlotsTextprivateprivate Candide.CandideUI.Components.CandideTextLabel _citizenSlotsText
_demolishBtnprivateprivate Candide.CandideUI.Components.Buttons.CandideIconButton _demolishBtn
_descriptionprivateprivate Candide.CandideUI.Components.CandideTextLabel _description
_hasTownprivateprivate System.Boolean _hasTown
_namePanelprivateprivate Candide.CandideUI.Components.CandideTextLabel _namePanel
_panelprivateprivate Candide.CandideUI.Containers.CandidePanel _panel
_sbprivateprivate System.Text.StringBuilder _sb
_selectedConstructionDisplayDataprivateprivate System.Nullable<Candide.PlayerMode.Construction.SelectedConstructionDisplayData> _selectedConstructionDisplayData
_slotsStackPanelprivateprivate Candide.CandideUI.Containers.CandideVerticalStackPanel _slotsStackPanel
_upgradeBtnprivateprivate Candide.CandideUI.Components.Buttons.TooltipLabelButton _upgradeBtn

Methods

Demolish_OnClickAction

private System.Void Demolish_OnClickAction()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash2F687889FF1E32670480030C95CD47ED722741CF766E649E7EC696926F1BB738
  • Body hash59BBF9E93965C99B6135B02634E6D6BAA212D4B0A5B48408D2E2E8060FEC6227
  • IL size529
Referenced calls
String literals
  • _building was null
  • town_core
  • Constructions_DemolishTownCoreError
  • Trying to remove TownCore but we couldn't find a town associated for it
  • Constructions_DemolishConfirmation
  • _decoration was null

SetState

public System.Void SetState(System.Nullable<Candide.PlayerMode.Construction.SelectedConstructionDisplayData> selectedConstructionDisplayData, System.Nullable<Candide.PlayerMode.Construction.TownDisplayData> townDisplayData, System.Nullable<System.Guid> stateHighestLevelledCarpenterBuildingId, Shared.Models.Construction.ConstructionMaterialsAggregate availableResources)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash940C2596C878162ED17927633967DD0641A0ED1645BB46A4B4D8BD6274A3FB4F
  • Body hash8A3DC736AB4347746C882B68417471653DF1B2E020A2A2D1E67798170D795927
  • IL size2332
Referenced calls
  • ConstructionDetailsDisplayWindow.<>c__DisplayClass14_0::.ctor()
  • System.Nullable<Candide.PlayerMode.Construction.TownDisplayData>::get_HasValue()
  • System.Nullable<Candide.PlayerMode.Construction.SelectedConstructionDisplayData>::get_HasValue()
  • System.Nullable<Candide.PlayerMode.Construction.SelectedConstructionDisplayData>::get_Value()
  • Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)
  • Candide.CandideUI.Components.CandideTextLabel::set_Text(System.String)
  • System.Nullable<Shared.Text.StringId>::get_HasValue()
  • System.Nullable<Shared.Text.StringId>::get_Value()
  • Candide.CandideUI.CandideUiElement::set_Visible(System.Boolean)
  • Candide.CandideUI.Containers.CandideGrid::ClearChildren()
  • System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Count()
  • System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::GetEnumerator()
  • List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Current()
  • Candide.CandideUI.Components.Holder.CandideHolderBase::.ctor()
  • Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)
  • System.Nullable<System.Int32>::.ctor(!0)
  • Candide.CandideUI.CandideUiElement::set_Height(System.Nullable<System.Int32>)
  • ConstructionDetailsDisplayWindow.<>c::<SetState>b__14_2()
  • System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>::.ctor(System.Object, System.IntPtr)
  • Candide.CandideUI.Components.Holder.CandideHolderBase::set_GetPreferredTooltipGrowthDirection(System.Func<Candide.CandideUI.Tooltip.CandideTooltipGrowthDirection>)
  • Candide.CandideUI.Components.CandideTextLabel::.ctor()
  • Shared.Text.StringId::op_Implicit(System.String)
  • Candide.CandideUI.Components.CandideTextLabel::set_StringId(Shared.Text.StringId)
  • Candide.CandideUI.Components.CandideTextLabel::set_TextAlign(FontStashSharp.RichText.TextHorizontalAlignment)
  • Candide.CandideUI.CandideUiElement::set_VerticalAlignment(Candide.CandideUI.VerticalAlignment)
  • Candide.CandideUI.CandideThickness::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
  • Candide.CandideUI.CandideUiElement::set_Padding(Candide.CandideUI.CandideThickness)
  • Candide.CandideUI.CandideUiContainerSingleItem::SetChild(Candide.CandideUI.CandideUiElement)
  • System.Nullable<System.ValueTuple<System.String, System.Int32>>::get_HasValue()
  • System.Nullable<System.ValueTuple<System.String, System.Int32>>::get_Value()
  • System.String::op_Inequality(System.String, System.String)
  • Shared.Data.JobDataBase::GetJobOrMissing(System.String)
Called by
String literals
  • Ui_Empty
  • job:unemployed
  • Citizens_NameAndCurrentJobLevel
  • ui:citizen
  • WorldStats_MaxBuildingAppealModifier
  • #0.#
  • /
  • Buildings_Biome
  • Buildings_Proximity

Upgrade_OnClickAction

private System.Void Upgrade_OnClickAction()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash0D8AE04CD11081DA2DC8C9EA496F9DD436B3F54D1D1540BE132F519C7ECF2D5E
  • Body hashFF301B1F18615A8CA0D6A47A90D2FE6D20CBF0889200D403F10D91A3FAAAF0AF
  • IL size55
Referenced calls