Candide.CandideUI.TownOverview.Components.TownOverviewMap
Type JSONpublic class in Candide.CandideUI.TownOverview.Components
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.TownOverview.Components - Base type
Candide.CandideUI.TownOverview.Components.AbstractMapControl - Hash
B4262A9C7678C84AFC4109277C52A0E064B57820C6ABE491DA7A58B4F8BE5DBE
Relationships
Base type
Candide.CandideUI.TownOverview.Components.AbstractMapControl
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
_displayData# | private | private Candide.CandideUI.TownOverview.DisplayData.TownOverviewDisplayData _displayData |
_mouseSimulator# | private | private Candide.CandideUI.Helpers.ControllerMouseSimulator _mouseSimulator |
_slots# | private | private System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TownOverview.Components.CitizenSlotHolder> _slots |
_slotsPanel# | private | private Candide.CandideUI.Containers.CandidePanel _slotsPanel |
_townOverviewControl# | private | private Candide.CandideUI.TownOverview.TownOverviewControl _townOverviewControl |
Methods
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
4B434A844866E2B25B7EADBF039C2A08D562E66BEEDA0E449BC2E33EE204E4ED - Body hash
785A6BF46D2043CD36A8AD0C7A4A857D192F307D41308AA52ADB085B1E2BA730 - IL size87
Referenced calls
Candide.CandideUI.CandideUiContainerMultipleItems::InternalDraw(Candide.CandideUI.UiRenderContext)Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.CandideUI.CandideExtendedInteractionsHandler::get_DraggedContent()Candide.CandideUI.TownOverview.Components.CitizenDraggableHolderContent::get_IconData()CandideCreator.Shared.Graphics.IconData::GetIcon(CandideCreator.Shared.Graphics.IconFlag)Candide.CandideUI.CandideUiElement::get_ActualBounds()Microsoft.Xna.Framework.Rectangle::get_Center()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::get_One()Candide.CandideUI.UiRenderContext::DrawIcon(CandideCreator.Shared.Graphics.Icon, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single)
OnTownsChanged
#
public System.Void OnTownsChanged(Candide.CandideUI.TownOverview.DisplayData.TownOverviewDisplayData displayData)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
BF40A61CEC46EB557A59FB2C7596B64F3C2A7CE9FBCDC124481BD9EA7B4D9970 - Body hash
0B8B3527DAF84D6EEC27D5524CEA1C506E43B3D56B6D894ED1704AF62214A185 - IL size296
Referenced calls
System.Guid::op_Inequality(System.Guid, System.Guid)Candide.Toolkit.SamuelDevelopmentException::.ctor(System.String)Candide.CandideUI.CandideUiContainerMultipleItems::ClearChildren()System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TownOverview.Components.CitizenSlotHolder>::Clear()Microsoft.Xna.Framework.Rectangle::get_Center()Microsoft.Xna.Framework.Point::ToVector2()System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::GetEnumerator()List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Current()Candide.CandideUI.TownOverview.Components.CitizenSlotHolder::.ctor(Candide.CandideUI.TownOverview.TownOverviewControl)Candide.CandideUI.TownOverview.Components.CitizenSlotHolder::set_CitizenSlot(Candide.GameModels.Models.Citizens.CitizenSlot)System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TownOverview.Components.CitizenSlotHolder>::set_Item(!0, !1)Candide.CandideUI.CandideUiContainerMultipleItems::AddChild(Candide.CandideUI.CandideUiElement, System.Boolean)List.Enumerator<Candide.GameModels.Models.Citizens.CitizenSlot>::MoveNext()System.IDisposable::Dispose()HashSet.Enumerator<System.Guid>::MoveNext()
String literals
Never should have come here
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
9C4531151AD6584850737E585F0F0CDBF2F19A1ED9D646C45C5B574640986DE0 - Body hash
C36D344CB06C3A23104439A8E755132D9CCA25F5378B1C0AD89A1169D2961886 - IL size110
Referenced calls
Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.CandideUI.CandideUiElement::GetFocusable()System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)Candide.CandideUI.Helpers.ControllerMouseSimulator::SetCursorPosition(System.Nullable<Microsoft.Xna.Framework.Vector2>)Candide.CandideUI.Helpers.ControllerMouseSimulator::Update()Candide.CandideUI.CandideUiContainerMultipleItems::Update(Microsoft.Xna.Framework.GameTime)Candide.CandideUI.TownOverview.Components.TownOverviewMap::UpdateSlotPositions(Candide.GameModels.Models.ClientTownModel)
UpdateSlotPositions
#
private System.Void UpdateSlotPositions(Candide.GameModels.Models.ClientTownModel town)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
435F93E3161AADED59832163CD8A646B74AA68EC4B344ECEDE34B849F05C7099 - Body hash
1F934A8E3B99986E96D1718577F6D27A2EC1264EDF756F0B2840B42F2F3CF39A - IL size449
Referenced calls
Candide.CandideUI.Components.CandideDraggableMap::GetTileToScreenTransform()Candide.CandideUI.CandideUiElement::CalculateScreenPosition()System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Count()Microsoft.Xna.Framework.Rectangle::get_Center()Microsoft.Xna.Framework.Point::ToVector2()CandideCreator.Shared.Helpers.VectorExtension::Transform(Microsoft.Xna.Framework.Vector2&, Microsoft.Xna.Framework.Matrix&, Microsoft.Xna.Framework.Vector2&)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Collections.Generic.List<Candide.GameModels.Models.Citizens.CitizenSlot>::get_Item(System.Int32)System.Collections.Generic.Dictionary<System.Guid, Candide.CandideUI.TownOverview.Components.CitizenSlotHolder>::TryGetValue(!0, !1&)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.WarningHelper::Warning(System.String)Candide.CandideUI.CandideUiSystem::get_Scale()Candide.CandideUI.CandideUiElement::set_Top(System.Int32)Candide.CandideUI.CandideUiElement::set_Left(System.Int32)HashSet.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()
String literals
TownOverviewMap: Slots dictionary did not contain slot with ID. Add it here again perhaps?