Romestead Assembly Reference

Candide.CandideUI.TownOverview.TownOverviewControl

Type JSON

public class in Candide.CandideUI.TownOverview

Methods10
Properties2
Fields15
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
DraggedCitizenIdpublicpublic System.Nullable<System.Guid> DraggedCitizenId
LockedHoveredCitizenpublicpublic System.Nullable<System.Guid> LockedHoveredCitizen
SlotHoveredCitizenIdpublicpublic System.Nullable<System.Guid> SlotHoveredCitizenId
_citizenDetailsPanelprivateprivate Candide.CandideUI.Containers.CandideVerticalStackPanel _citizenDetailsPanel
_citizenPanelprivateprivate Candide.CandideUI.Containers.CandideVerticalStackPanel _citizenPanel
_displayDataprivateprivate Candide.CandideUI.TownOverview.DisplayData.TownOverviewDisplayData _displayData
_draggableFocusableprivateprivate Candide.CandideUI.UserControls.DraggableMapFocusable _draggableFocusable
_gridprivateprivate Candide.CandideUI.Containers.CandideGrid _grid
_hoveredCitizenprivateprivate System.Nullable<System.Guid> _hoveredCitizen
_mapprivateprivate Candide.CandideUI.TownOverview.Components.TownOverviewMap _map
_modalprivateprivate Candide.CandideUI.Windows.CandideModalWindow _modal
_renameBtnprivateprivate Candide.CandideUI.Components.Buttons.CandideIconButton _renameBtn
_statsCitizenSlotsprivateprivate Candide.CandideUI.Components.CandideIconLabel _statsCitizenSlots
_statsTownDefenceprivateprivate Candide.CandideUI.Components.CandideIconLabel _statsTownDefence
_townDisplayprivateprivate Candide.CandideUI.Components.CandideIconLabel _townDisplay

Properties

NameVisibilitySignature
HoveredCitizenpublicpublic System.Nullable<System.Guid> HoveredCitizen
Townpublicpublic Candide.CandideUI.TownOverview.DisplayData.TownOverviewDisplayData Town

Methods

OnCitizenPickedUp

private System.Void OnCitizenPickedUp(System.Object sender, Candide.CandideUI.TownOverview.Components.CitizenDraggableHolderContent citizen)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashCAC80968507A27D7704BB61ABA68C9A6F9CFDD8AD4F6FE11D2DF92C212CD0100
  • Body hash135BF5D7EB4FD7906D5BA3F47F6A649639610B256989E92EA848D5336CE576CA
  • IL size19
Referenced calls
Called by

OnClick_RenameTown

private System.Void OnClick_RenameTown()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashC6352A9084077238736456D3336BDDD50953A70A11165E02A6EC8A9F6888CFCE
  • Body hash40FB885FC82291DE0A68B3A954E2DFCB366629B322028085C7D5A1760DFDDC08
  • IL size85
Referenced calls

OnHoveredCitizenChanged

private System.Void OnHoveredCitizenChanged()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash41250695A66D1CF8291454739BF11057A03BE60B15CED838060EA11669591EDC
  • Body hash4F4B2C0D86C866C7D9C512CB6A7E679CBD4EDD2C115C5CBF9C31D332A52C48DE
  • IL size147
Referenced calls

OnTownChanged

private System.Void OnTownChanged()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashDBF2C1F4312550DF64E4B02EAD6C23B9B67AF6C242959ECB0AC8DDEB05877D58
  • Body hash81729320ED8C74C08BC72C6E5F7376D84CFFE0D261A0AEBD1122638023F60670
  • IL size8

OnTownsChanged

public System.Void OnTownsChanged(Candide.CandideUI.TownOverview.DisplayData.TownOverviewDisplayData displayData)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash7ABABC31247EAEE7CDBA05D4CB85133FE71123EB8224E853ED51E1DFE5967823
  • Body hashFF8871B35C7541E0E47C8A31F579B767241A11B6BB7CE95967FAF936DFA34394
  • IL size936
Referenced calls
  • System.Nullable<System.Guid>::.ctor(!0)
  • System.Nullable<System.Guid>::get_HasValue()
  • System.Nullable<System.Guid>::GetValueOrDefault()
  • System.Guid::op_Inequality(System.Guid, System.Guid)
  • Candide.Toolkit.SamuelDevelopmentException::.ctor(System.String)
  • Candide.CandideUI.Components.CandideIconLabel::set_Icon(System.String)
  • CandideServer.Models.Town.TownModel::GetLocalizedName()
  • Candide.CandideUI.Components.CandideIconLabel::set_Text(System.String)
  • Candide.CandideUI.Containers.CandideGrid::ClearChildren()
  • System.Collections.Generic.Dictionary<System.Guid, CandideServer.MessageModels.Towns.CitizenTownOverviewData>::GetEnumerator()
  • TownOverviewControl.<>c__DisplayClass23_0::.ctor()
  • Dictionary.Enumerator<System.Guid, CandideServer.MessageModels.Towns.CitizenTownOverviewData>::get_Current()
  • System.Collections.Generic.KeyValuePair<System.Guid, CandideServer.MessageModels.Towns.CitizenTownOverviewData>::Deconstruct(!0&, !1&)
  • Candide.CandideUI.Containers.CandideGrid::.ctor()
  • System.Collections.ObjectModel.Collection<Candide.CandideUI.Proportion>::Add(!0)
  • Candide.CandideUI.CandideUiElement::set_HorizontalAlignment(Candide.CandideUI.HorizontalAlignment)
  • TownOverviewControl.<>c__DisplayClass23_0::<OnTownsChanged>b__0()
  • System.Action::.ctor(System.Object, System.IntPtr)
  • Candide.CandideUI.TownOverview.Components.TownOverviewCitizenHolder::.ctor(Candide.CandideUI.TownOverview.TownOverviewControl, System.Action)
  • Candide.CandideUI.CandideThickness::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
  • Candide.CandideUI.CandideUiElement::set_Margin(Candide.CandideUI.CandideThickness)
  • Candide.CandideUI.TownOverview.Components.TownOverviewCitizenHolder::set_Citizen(CandideServer.MessageModels.Towns.CitizenTownOverviewData)
  • Candide.CandideUI.CandideUiElement::set_GridColumn(System.Int32)
  • TownOverviewControl.<>c::<OnTownsChanged>b__23_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>)
  • Candide.CandideUI.TownOverview.TownOverviewControl::OnCitizenPickedUp(System.Object, Candide.CandideUI.TownOverview.Components.CitizenDraggableHolderContent)
  • System.EventHandler<Candide.CandideUI.TownOverview.Components.CitizenDraggableHolderContent>::.ctor(System.Object, System.IntPtr)
  • Candide.CandideUI.TownOverview.Components.TownOverviewCitizenHolder::add_CitizenPickedUp(System.EventHandler<Candide.CandideUI.TownOverview.Components.CitizenDraggableHolderContent>)
  • Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.ClientTownModel>::get_Count()
  • Candide.CandideUI.Components.Buttons.CandideIconButton::.ctor(System.String, CandideCreator.Shared.Graphics.IconFlag)
Called by
String literals
  • Not expected to happen
  • town_core
  • Town_Overview_NoCitizens
  • Town_Overview_NoCitizens_Tips
  • Town_Overview_NoCitizenSlots
  • Town_AvailableAndUnavailableSlots

OnUiClosePressed

public System.Boolean OnUiClosePressed()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Boolean
  • StaticFalse
  • VirtualTrue
  • Hash4796E495038D486BD789E8E3C8BE519E92D6D812F7E82535099BA27BC50684F0
  • Body hash9863A50AD19AB74D80A8FF0FB6902A4079F776F92C31614600FA15EEFEA2A684
  • IL size61
Referenced calls

SendToTownButton_OnClick

private System.Void SendToTownButton_OnClick(CandideServer.MessageModels.Towns.CitizenTownOverviewData citizen, System.Guid sourceTownId)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash9A6F39F525BD35A0A7C1394C75904FF75D2C3389217EC5383886FEF1AF7EE7BC
  • Body hash75A50C865839B1E1BF656CEF9DEF6FDC2506131EF0435F6AB846702A53608C84
  • IL size660
Referenced calls
String literals
  • Citizens_SendToTown
  • Citizens_SendToTown_Full
  • Ui_Cancel

SetStatsTownDefence

private System.Void SetStatsTownDefence(Candide.CandideUI.Components.CandideIconLabel statsTownDefence)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash4681C5FBE7B2140DA86A34F71D9AD9D52A7A2E3929AED65C01B7128CE5C474C6
  • Body hash0B47148D8BFCC7908225D7AF9EC37515A0E21396C4176FB75F4E7565C95115A7
  • IL size269
Referenced calls
  • Shared.Helpers.TownDefenceHelper::GetTownDefenceValues(System.Collections.Generic.HashSet<System.String>, System.Int32)
  • System.Nullable<System.Int32>::GetValueOrDefault()
  • System.Int32::ToString()
  • Candide.CandideUI.Components.CandideIconLabel::set_Text(System.String)
  • Candide.CandideUI.Components.CandideIconLabel::set_TextColor(Microsoft.Xna.Framework.Color)
  • TownOverviewControl.<>c::<SetStatsTownDefence>b__24_0()
  • System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>::.ctor(System.Object, System.IntPtr)
  • Candide.CandideUI.Components.CandideIconLabel::set_GetTooltipContent(System.Func<System.Collections.Generic.IEnumerable<Candide.CandideUI.CandideUiElement>>)
  • TownOverviewControl.<>c::<SetStatsTownDefence>b__24_1()
  • TownOverviewControl.<>c::<SetStatsTownDefence>b__24_2()

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash5AD3C249895E67AE66D5C0B528C76999473394EC3316F5E09B42824D86AA74D7
  • Body hash1CA6F948167C426F7CF9944640D7E2D289B3DCD5A54717E0F5664A5CCCC14875
  • IL size96
Referenced calls