Candide.PlayerMode.Construction.SelectedConstructionBuildingsProximityFunctionality
Type JSONpublic class in Candide.PlayerMode.Construction
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Construction - Base type
System.Object - Interfaces
Candide.PlayerMode.Construction.ISelectedConstructionProximityFunctionality - Hash
EBC36B2DC23AA0C45E5CD8116A06E3886134EB9A35BEE3026F61AFD239E343DB
Relationships
Base type
System.Object
Interfaces
Fields
| Name | Visibility | Signature |
|---|---|---|
ClosestBuilding# | public | public Candide.GameModels.Models.Constructions.Building ClosestBuilding |
_proximityFunctionality# | private | private Shared.Models.Buildings.BuildingProximityFunctionality _proximityFunctionality |
Methods
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch, System.Int32 tileWidth, System.Int32 tileHeight, Microsoft.Xna.Framework.Vector2 selectedConstructionLocation, Microsoft.Xna.Framework.Vector2 middleWorldPos)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
2EAE2F7A29372BB5AC0C479F0341DC2C4DD8353FB12AFF8C45299C0BB46F4F86 - Body hash
2F9C0D0C68CA6B543713D63F8B48B5CD3E3CD3E4A9C4FD77FEF418C0AA181100 - IL size413
Referenced calls
Microsoft.Xna.Framework.Color::get_Beige()CandideCreator.Shared.Graphics.ShapeExtensions::DrawCircle(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, System.Int32, Microsoft.Xna.Framework.Color, System.Single, System.Single)Microsoft.Xna.Framework.Color::get_DarkOrange()Candide.Graphics.Fonts.FontManager::get_TextScale()Candide.Graphics.Fonts.CandideFont::get_RenderFont()CandideServer.Database.BuildingTypeDataBase::GetBuildingTypeOrMissing(System.String)Shared.Text.StringExtensions::GetTranslation(Shared.Text.StringId)Shared.Text.StringDefinitions::GetFormatString(System.String, System.String)System.Int32::ToString()System.String::Concat(System.String, System.String)FontStashSharp.SpriteFontBase::MeasureString(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)System.Math::Ceiling(System.Double)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Color::get_White()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)FontStashSharp.SpriteFontBase::DrawText(Microsoft.Xna.Framework.Graphics.SpriteBatch, System.String, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, System.Single, FontStashSharp.TextStyle, FontStashSharp.FontSystemEffect, System.Int32, System.Int32)CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)Microsoft.Xna.Framework.Color::get_Black()CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawLine(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single)
String literals
Buildings_Proximity_Building
GetTooltipString
#
public System.Void GetTooltipString(System.Text.StringBuilder sb)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
FEF132D17D166A1FA1CE4C7E675AD2C3AF2DB1B260610B3FB7A0508B3144A6A1 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
IsValid
#
public System.Boolean IsValid(System.Int32 tileWidth, System.Int32 tileHeight, Microsoft.Xna.Framework.Vector2 selectedConstructionLocation, Microsoft.Xna.Framework.Vector2 middleWorldPos)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticFalse
- VirtualTrue
- Hash
B1482301F76E6E14B74DF06CCB8825BDDF599E34EE1D6E64506DD031BB300961 - Body hash
FB6C2967D14370B4BFBBBFDF9521A7042102A96AE44A743E4B5C78A273F5D483 - IL size316
Referenced calls
Candide.GameModels.GameState::GetBuildingsIntersectingCircleArea(Microsoft.Xna.Framework.Vector2, System.Single)System.Collections.Generic.IEnumerable<Candide.GameModels.Models.Constructions.Building>::GetEnumerator()System.Collections.Generic.IEnumerator<Candide.GameModels.Models.Constructions.Building>::get_Current()System.String::op_Equality(System.String, System.String)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()System.Nullable<System.Guid>::.ctor(!0)System.Nullable<System.Guid>::GetValueOrDefault()System.Guid::op_Equality(System.Guid, System.Guid)CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::LengthSquared()System.Nullable<System.Single>::get_HasValue()System.Nullable<System.Single>::GetValueOrDefault()System.Nullable<System.Single>::.ctor(!0)System.Collections.IEnumerator::MoveNext()System.IDisposable::Dispose()