Candide.PlayerMode.Construction.PlacingConstruction
Type JSONpublic class in Candide.PlayerMode.Construction
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Construction - Base type
System.Object - Hash
FAC569B23FDA635BE8C923503FCEC866480D4F0A5025253D2A7FC8D7D9A8A920
Relationships
Base type
System.Object
Referenced by types
Candide.CandideUI.ConstructionsUi.ConstructionPlacementInfoTooltipWindowCandide.CandideUI.ConstructionsUi.ConstructionsUiWindowCandide.PlayerMode.Construction.Constructing.ConstructingHandlerCandide.PlayerMode.Construction.Constructing.DraggableDrawingHandlerCandide.PlayerMode.Construction.Constructing.LineDrawingHandlerCandide.PlayerMode.Construction.Constructing.RectangleDrawingHandlerCandide.PlayerMode.Construction.Constructing.SharedDrawingHandlerCandide.PlayerMode.Construction.Constructing.SingleDrawingHandlerCandide.PlayerMode.Construction.ConstructionDesktopCandide.PlayerMode.Construction.ConstructionModeManagerCandide.PlayerMode.Construction.SubPlacingConstruction
Fields
| Name | Visibility | Signature |
|---|---|---|
CursorIconFrame# | public | public System.Int32 CursorIconFrame |
DisplayConstructionId# | public | public System.String DisplayConstructionId |
PlacingConstructionData# | public | public Candide.PlayerMode.Construction.Constructing.PlacingConstructionData PlacingConstructionData |
SubSelectedConstruction# | public | public Candide.PlayerMode.Construction.SubPlacingConstruction SubSelectedConstruction |
_onTryPlace# | private | private System.Func<Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>, System.Boolean> _onTryPlace |
Properties
| Name | Visibility | Signature |
|---|---|---|
ConstructionId# | public | public System.String ConstructionId |
ProximityFunctionalities# | public | public System.Collections.Generic.List<Candide.PlayerMode.Construction.ISelectedConstructionProximityFunctionality> ProximityFunctionalities |
SpaceInfo# | public | public Shared.Models.Construction.ConstructionSpaceInfo SpaceInfo |
Methods
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch, Microsoft.Xna.Framework.Point placingTopLeftTile)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
C81CB5886B761DB40D1F981AF120E9837EC3842A20941C1C624BC7C82D53EC7A - Body hash
BD00AE78605BC9D2D193A1D09E04C1A462920BF5A1338CED89C92FF3F9DCC195 - IL size14
Place
#
public System.Boolean Place(Microsoft.Xna.Framework.Point placingTopLeftTile, System.Nullable<System.Guid> townId, System.String placingBiomeCategory)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualFalse
- Hash
9CC98A1C3AB0F77544503B216395EE22C386E52A6F85CE19E411F2FEDE60762B - Body hash
A7A02155CF32C3FEFDDD93E2F89B5B161C4427F4A5FE9175C0D44889E04114E0 - IL size31
Referenced calls
Candide.PlayerMode.Construction.Constructing.PlacingConstructionData::HasConditionsMet(Microsoft.Xna.Framework.Point, System.String)System.Func<Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>, System.Boolean>::Invoke(!0, !1)
Called by
SetConstruction
#
public System.Void SetConstruction(System.String constructionId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9DEAAB2B6ADC49B3D6BCDC84F28BF49587DD487F027FCCCEE86B262FCDA39179 - Body hash
E6488D6EF846E31AD8922C1F1D6A03152538B71F74C601C59541662C49A82B39 - IL size1049
Referenced calls
PlacingConstruction.<>c__DisplayClass15_0::.ctor()Shared.Data.ConstructionDataBase::GetConstructionOrNull(System.String)Candide.Toolkit.SamuelDevelopmentException::.ctor(System.String)System.Collections.Generic.List<Candide.PlayerMode.Construction.ISelectedConstructionProximityFunctionality>::.ctor()PlacingConstruction.<>c__DisplayClass15_0::<SetConstruction>b__0(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)System.Func<Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>, System.Boolean>::.ctor(System.Object, System.IntPtr)Shared.Models.Construction.ConstructionModel::GetSpawnedObject()System.Nullable<Shared.Models.Buildings.EntityProximityFunctionality>::get_HasValue()System.Nullable<Shared.Models.Buildings.EntityProximityFunctionality>::get_Value()Candide.PlayerMode.Construction.SelectedConstructionEntityProximityFunctionality::.ctor(Shared.Models.Buildings.EntityProximityFunctionality)System.Collections.Generic.List<Candide.PlayerMode.Construction.ISelectedConstructionProximityFunctionality>::Add(!0)System.Nullable<Shared.Models.Buildings.BuildingProximityFunctionality>::get_HasValue()System.Nullable<Shared.Models.Buildings.BuildingProximityFunctionality>::get_Value()Candide.PlayerMode.Construction.SelectedConstructionBuildingsProximityFunctionality::.ctor(Shared.Models.Buildings.BuildingProximityFunctionality)System.Nullable<Shared.Models.Buildings.TileProximityFunctionality>::get_HasValue()System.Nullable<Shared.Models.Buildings.TileProximityFunctionality>::get_Value()Candide.PlayerMode.Construction.SelectedConstructionTileProximityFunctionality::.ctor(Shared.Models.Buildings.TileProximityFunctionality)System.Nullable<Shared.Models.Construction.FoodDispenser>::get_HasValue()Candide.PlayerMode.Construction.SelectedConstructionTownDistanceFunctionality::.ctor(System.Single, System.Single)System.String::get_Length()System.String::get_Chars(System.Int32)System.String::op_Equality(System.String, System.String)PlacingConstruction.<>c::<SetConstruction>b__15_1(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)PlacingConstruction.<>c::<SetConstruction>b__15_2(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)PlacingConstruction.<>c::<SetConstruction>b__15_3(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)PlacingConstruction.<>c::<SetConstruction>b__15_4(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)PlacingConstruction.<>c::<SetConstruction>b__15_5(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)PlacingConstruction.<>c::<SetConstruction>b__15_6(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)PlacingConstruction.<>c::<SetConstruction>b__15_7(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)Candide.PlayerMode.Construction.SelectedConstructionCitizenStatsProximityFunctionality::.ctor(System.Single, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>, System.Single)System.ArgumentOutOfRangeException::.ctor()Candide.PlayerMode.Construction.Constructing.PlacingConstructionData::.ctor(Shared.Models.Construction.ConstructionModel, System.Collections.Generic.List<Candide.PlayerMode.Construction.ISelectedConstructionProximityFunctionality>)
String literals
Construction was null.service:remove_construction_siteservice:remove_treeservice:remove_roadservice:remove_wallservice:remove_cropservice:remove_all_wallsservice:demolish_building
Update
#
public System.Void Update()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
D128F319B2F4D78CAEB97D15FEFFB93BB90EE334FC5713367E809B776C375EEA - Body hash
488DB46DD137B219A1DED07906D4109191FF01FB884774A0B23E0CDD87B272BD - IL size17