Candide.PlayerMode.Construction.Constructing.ConstructingHandler
Type JSONpublic class in Candide.PlayerMode.Construction.Constructing
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Construction.Constructing - Base type
System.Object - Hash
D132B1925E75AB76CA57B3CA007033227DA12AFF82F152A4BC53ECD76C3B5D9E
Relationships
Base type
System.Object
Referenced by types
Candide.PlayerMode.Construction.Constructing.DraggableDrawingHandlerCandide.PlayerMode.Construction.Constructing.LineDrawingHandlerCandide.PlayerMode.Construction.Constructing.RectangleDrawingHandlerCandide.PlayerMode.Construction.Constructing.SingleDrawingHandlerCandide.PlayerMode.Construction.ConstructionModeManager
Fields
| Name | Visibility | Signature |
|---|---|---|
InfinitePlacing# | public | public System.Boolean InfinitePlacing |
PlacementStyle# | public | public ConstructionSpaceInfo.PlacementStyle PlacementStyle |
PlacingBiomeCategory# | public | public System.String PlacingBiomeCategory |
PlacingConstruction# | public | public Candide.PlayerMode.Construction.PlacingConstruction PlacingConstruction |
PlacingTopLeftTile# | public | public Microsoft.Xna.Framework.Point PlacingTopLeftTile |
Primary# | public | public Candide.Input.SuperKeybind Primary |
Secondary# | public | public Candide.Input.SuperKeybind Secondary |
SelectedConstructionChanged# | private | private System.EventHandler<Candide.PlayerMode.Construction.PlacingConstruction> SelectedConstructionChanged |
Events
| Name | Visibility | Signature |
|---|---|---|
SelectedConstructionChanged# | public | public System.EventHandler<Candide.PlayerMode.Construction.PlacingConstruction> SelectedConstructionChanged |
Methods
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
7A34497C0A69004F4AD6BB8E7DE99A63B7AB449B76E22FF90905DE745EB12B7B - Body hash
4413200C92216BFB2E56F422290E8D8B5E4984E3BDE950A5210D8E44862EDB93 - IL size136
Referenced calls
Candide.Input.RtsPlayerInputController::get_PlacingPosition()Candide.GameModels.Systems.ConstructionSitesSystem::DrawInWorldTileOverlayForConstructionUnderMouse(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2)Candide.PlayerMode.Construction.PlacingConstruction::DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Point)Candide.PlayerMode.Construction.Constructing.SingleDrawingHandler::DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Candide.PlayerMode.Construction.PlacingConstruction, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)Candide.PlayerMode.Construction.Constructing.DraggableDrawingHandler::DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Candide.PlayerMode.Construction.PlacingConstruction, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)Candide.PlayerMode.Construction.Constructing.LineDrawingHandler::DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Candide.PlayerMode.Construction.PlacingConstruction, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)Candide.PlayerMode.Construction.Constructing.RectangleDrawingHandler::DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Candide.PlayerMode.Construction.PlacingConstruction, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)System.ArgumentOutOfRangeException::.ctor()
GetBiomeCategory
#
public System.String GetBiomeCategory(Microsoft.Xna.Framework.Rectangle constructionTileBounds, Microsoft.Xna.Framework.Point placingTopLeftTile)
Method metadata
- Visibilitypublic
- Return type
System.String - StaticFalse
- VirtualFalse
- Hash
F7BEC0506FDF660F14EE493CEF7D93B8EC8133BD819A69799DAA34456F0A1DD1 - Body hash
B02E9FC31BFB87FDF44DFB57A5E24C3292ECE5DD303544FA34937FE99A00CCA3 - IL size33
Referenced calls
Called by
Candide.PlayerMode.Construction.Constructing.ConstructingHandler::UpdateCandide.PlayerMode.Construction.Constructing.LineDrawingHandler::DrawInWorldUiCandide.PlayerMode.Construction.Constructing.LineDrawingHandler::UpdateCandide.PlayerMode.Construction.Constructing.RectangleDrawingHandler::DrawInWorldUiCandide.PlayerMode.Construction.Constructing.RectangleDrawingHandler::Update
Reset
#
public System.Void Reset()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
CC50356A6FBB1C9A57A3E289F41F58C683400D860FB4AD12803D710FFABE291C - Body hash
ECE61E22F962F2F640AD9F90E0AF4744CD3D30CA0C549FE89D4476DDB7F615EF - IL size20
ResetAll
#
public System.Void ResetAll()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3029AC428235853EB2BFC6FDAD4392E257CDF61BDDEB59A59E6F7847198DCF56 - Body hash
ABC6ED2CEFEE80D74F8E41F0E2983C1DE183FCBF951CAD2275DD09F8289A09B9 - IL size42
Referenced calls
ResetDrawing
#
public System.Void ResetDrawing()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
6ACBA46D8C32FDFFE928FADF987901153A7EBF583E0E8B544E68699786526AAA - Body hash
D361AE5A3BF4E45E05D5199D51C4B33D8C7E68E5289BA90E2F0E249E31CE9673 - IL size21
Referenced calls
Candide.PlayerMode.Construction.Constructing.LineDrawingHandler::Reset()Candide.PlayerMode.Construction.Constructing.DraggableDrawingHandler::Reset()Candide.PlayerMode.Construction.Constructing.RectangleDrawingHandler::Reset()Candide.PlayerMode.Construction.Constructing.SingleDrawingHandler::Reset()
SetSelectedConstruction
#
public System.Void SetSelectedConstruction(System.String constructionId)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
06EC5905C3B0B7CEA49BD7F2EEB8AF323E69D1B9F71CCC06AC8D86F2B231060A - Body hash
19F19E2F376309D814596BDFA78722CB7D2A371A235A9C63D06BEB279092C826 - IL size208
Referenced calls
Candide.PlayerMode.Construction.PlacingConstruction::get_ConstructionId()System.String::op_Equality(System.String, System.String)Shared.Data.ConstructionDataBase::GetConstructionOrNull(System.String)Candide.PlayerMode.Construction.Constructing.ConstructingHandler::ResetDrawing()System.String::IsNullOrEmpty(System.String)Candide.PlayerMode.Construction.PlacingConstruction::.ctor(System.String)System.EventHandler<Candide.PlayerMode.Construction.PlacingConstruction>::Invoke(System.Object, !0)
Called by
String literals
service:remove_construction_site
Update
#
public System.Void Update(CandideServer.Models.Town.TownModel town)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
9362826D8676CF306CB24F16BD4926C789A56D7871AA00895A94FAF9CB4825CE - Body hash
86EBF9FD0E2A1DF0E9D203D7474B815C8F14CC6D2AF8C91221DCD29E1EAB511B - IL size274
Referenced calls
Candide.Input.RtsPlayerInputController::get_PlacingPosition()Candide.PlayerMode.Construction.PlacingConstruction::get_SpaceInfo()Shared.Models.Construction.ConstructionSpaceInfo::get_GetMainArea()Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)Candide.PlayerMode.Construction.PlacingConstruction::get_ConstructionId()Shared.Data.ConstructionDataBase::GetConstructionOrMissing(System.String)Candide.PlayerMode.Construction.Constructing.ConstructingHandler::GetBiomeCategory(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Point)Candide.PlayerMode.Construction.PlacingConstruction::Update()Candide.PlayerMode.Construction.Constructing.SingleDrawingHandler::Update(Candide.PlayerMode.Construction.PlacingConstruction, CandideServer.Models.Town.TownModel, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)Candide.PlayerMode.Construction.Constructing.DraggableDrawingHandler::Update(Candide.PlayerMode.Construction.PlacingConstruction, CandideServer.Models.Town.TownModel, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)Candide.PlayerMode.Construction.Constructing.LineDrawingHandler::Update(Candide.PlayerMode.Construction.PlacingConstruction, CandideServer.Models.Town.TownModel, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)Candide.PlayerMode.Construction.Constructing.RectangleDrawingHandler::Update(Candide.PlayerMode.Construction.PlacingConstruction, CandideServer.Models.Town.TownModel, Candide.PlayerMode.Construction.Constructing.ConstructingHandler)System.ArgumentOutOfRangeException::.ctor()