Romestead Assembly Reference

Candide.PlayerMode.Construction.ConstructionModeManager

Type JSON

public class in Candide.PlayerMode.Construction

Methods10
Properties6
Fields10
Events0
Type metadata

Relationships

Fields

NameVisibilitySignature
ConstructingHandlerpublicpublic Candide.PlayerMode.Construction.Constructing.ConstructingHandler ConstructingHandler
Controller_ShowingUipublicpublic System.Boolean Controller_ShowingUi
Instancepublicpublic Candide.PlayerMode.Construction.ConstructionModeManager Instance
Townpublicpublic CandideServer.Models.Town.TownModel Town
WorkbenchEntitypublicpublic Shared.Entity.EntityWrapper WorkbenchEntity
_highlightedTargetprivateprivate Candide.PlayerMode.Construction.HighlightedBuilding _highlightedTarget
_lastTownCountprivateprivate System.Int32 _lastTownCount
_previousConstructionIdprivateprivate System.String _previousConstructionId
_previousSubConstructionIndexprivateprivate System.Nullable<System.Int32> _previousSubConstructionIndex
_targetprivateprivate System.ValueTuple<System.Guid, Shared.Models.Construction.ConstructionType> _target

Properties

NameVisibilitySignature
CandideDesktoppublicpublic Candide.CandideUI.CandideDesktop CandideDesktop
ConstructionDesktoppublicpublic Candide.PlayerMode.Construction.ConstructionDesktop ConstructionDesktop
CursorWindowPosprivateprivate Microsoft.Xna.Framework.Vector2 CursorWindowPos
CursorWorldPosprivateprivate Microsoft.Xna.Framework.Vector2 CursorWorldPos
PlacingBiomeCategorypublicpublic System.String PlacingBiomeCategory
PlacingConstructionpublicpublic Candide.PlayerMode.Construction.PlacingConstruction PlacingConstruction

Methods

DrawCursor

public System.Void DrawCursor(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash359E07BDC75DF075C6EB560433B21D3A66147B19CB3BE83BDD3652E2ED2FB2D6
  • Body hash045D358D6CCF0A151B342D9A529221861AAF7AC973C5F7B43F7AEBF424B0E844
  • IL size257
Referenced calls

DrawInWorldUi

public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash0791EAFA8DC07EAF9B4E83C3B20334BA151DD4C9ADB36864A6EBBCEC6A6ADCD9
  • Body hash8A280836E07BCAC3D7E6B4DBF1556784BC0F821740A2EBC210BDFEFC7CE5E8F3
  • IL size41
Referenced calls

DrawUI

public System.Void DrawUI(Candide.CandideUI.UiRenderContext renderContext)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashAAC4E4553D517DBDFC0E193C01111696E05DD2B1506800A9DC361823E83C29A1
  • Body hash79727AE5216EE25A497A906EA32255A1DC090CD969D6B5603A36BF6AE33D6C1A
  • IL size776
Referenced calls
String literals
  • Constructions_BuildingNotPartOfTown

Exit

public System.Void Exit()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashDBF23BC1F0F98E885F98189ADD7C1B82B889585F4CB151D4FE155513BC60E0E3
  • Body hash98BF9A474307AFDB5F5DADEDD81E9A27F7FC4FD35C13B50766A8FB2AAA376542
  • IL size17
Referenced calls
Called by

OnEntering

public System.Void OnEntering()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash5BDCF4AA6170259CF1CAD76FDB82B0006F9583C7EC0267A6EA1BD70252C6C52F
  • Body hash5B1D0098F632083491B1CC6FC5ED8CCEC1B412E64292ED5C9929D93CC67A0B14
  • IL size170
Referenced calls
String literals
  • event:/interface/open_window
  • ui-construction-ui-opened

OnLeaving

public System.Void OnLeaving()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • HashE3AB9583020EC94299B140CF850DBB0F5A4B8236B818C9D985285543015EDD0A
  • Body hash8FEF58505C6C1C13F4DC037545870B959F1F363516B7D0BC5E3DD872C0E2A29B
  • IL size18
Referenced calls

SetSelectedConstruction

public System.Void SetSelectedConstruction(System.String constructionId)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashE111052F0A8604654858477503BAD3618B26B952C55292D9CB1B4B0D879BF7A5
  • Body hash160A38A9715699844474EF4D8CE4ED1A0B3B52BE6A22F8539444B3886E574FE4
  • IL size23
Referenced calls
Called by

SetShowingUi

public System.Void SetShowingUi(System.Boolean showUi)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash7188448FF769E69ACAEBE796610CFA7B4AC669B1D4DD871FAC25EFAF6EB7AD53
  • Body hash98D9245E92F85BF17C79ABF197CD0BA5BA71CF5052F287177FF2AED4B7911CEA
  • IL size103
Referenced calls
Called by

Update

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

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualTrue
  • Hash0D0D7ED487799F523E6788DD2805DCDE91445FFB8F36D66B591A85A4B2406AC7
  • Body hashF241FE65995507150F26B80E9071FA689A93E60CA5CC89C0EDA8ED8C6461D49D
  • IL size987
Referenced calls
String literals
  • service:remove_construction_site

UpdateHoveredTarget

private System.Void UpdateHoveredTarget()

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash790666E1D82D6349C46378696A36739C1B969AE7916D57F1D2B1E2A4E8CC3224
  • Body hash50914BDE10D3B132108555C5FEF74260CD719DBA22155C9B2B093787E07BA0D5
  • IL size326
Referenced calls
  • Candide.PlayerMode.Construction.ConstructionModeManager::get_PlacingConstruction()
  • Candide.CandideUI.CandideUiSystem::get_ControllerEnabled()
  • Candide.PlayerMode.Construction.ConstructionModeManager::get_ConstructionDesktop()
  • Candide.CandideUI.CandideUiElement::get_Visible()
  • Candide.CandideUI.ControllerUiInputSystem::get_IsFocusingUi()
  • Candide.PlayerMode.Construction.ConstructionModeManager::get_CursorWorldPos()
  • Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Constructions.Building>::get_Values()
  • Dictionary.ValueCollection<System.Guid, Candide.GameModels.Models.Constructions.Building>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::get_Current()
  • Microsoft.Xna.Framework.Rectangle::Contains(System.Single, System.Single)
  • Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::MoveNext()
  • System.IDisposable::Dispose()
  • System.Collections.Generic.Dictionary<System.Guid, Candide.GameModels.Models.Constructions.Decoration>::get_Values()
  • Dictionary.ValueCollection<System.Guid, Candide.GameModels.Models.Constructions.Decoration>::GetEnumerator()
  • Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Decoration>::get_Current()
  • Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Decoration>::MoveNext()
Called by