Candide.PlayerMode.Construction.SelectedConstructionCitizenStatsProximityFunctionality
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
DBD348D639F12B65AD46DAF6A2A54619BDEF645F9E2B2BB49A2C029625EF43BC
Relationships
Base type
System.Object
Interfaces
Fields
| Name | Visibility | Signature |
|---|---|---|
TileSizeHalf# | private | private System.Int32 TileSizeHalf |
_buildingAppeal# | private | private System.Single _buildingAppeal |
_radius# | private | private System.Single _radius |
_statBonuses# | private | private System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData> _statBonuses |
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
2BF391F724968B175BC93F4AE3DCC45A522E81C502ACB5353FCC677698FCAF43 - Body hash
887B5D84ABE8F40019E3176632BE3B433D1C7BAA67F7CA71B81382F04AFBCF4D - IL size319
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()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()System.Collections.Generic.List<System.Guid>::get_Count()CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)CandideCreator.Shared.Helpers.CandideMathHelper::RectangleIntersectsCircle(Microsoft.Xna.Framework.Vector2, System.Single, System.Single, Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Color::get_White()Microsoft.Xna.Framework.Color::.ctor(Microsoft.Xna.Framework.Color, System.Single)CandideCreator.Shared.Graphics.SpriteSheet::Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Int32, Microsoft.Xna.Framework.Color, System.Single, System.Single, System.Single)Dictionary.ValueCollection.Enumerator<System.Guid, Candide.GameModels.Models.Constructions.Building>::MoveNext()System.IDisposable::Dispose()
GetTooltipString
#
public System.Void GetTooltipString(System.Text.StringBuilder sb)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
232859E0D7CD9DB7BCD57D79B558AE248EE8C23D93F1206BFAEE252CC0CCEB7B - Body hash
295D133BA1DACE2D310D2218DD1AB4447EEFB6793B6A00BB297C9D2F18A1611E - IL size234
Referenced calls
System.Text.StringBuilder::Append(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>::get_Count()System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>::GetEnumerator()Dictionary.Enumerator<System.String, Shared.Models.Stats.StatModificationData>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.StatModificationData>::get_Key()Shared.Data.EntityStatsDataBase::GetStatOrMissing(System.String)System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.StatModificationData>::get_Value()Shared.Text.StatDescriptionText::GetStatModificationText(Shared.Models.Stats.StatDescription, Shared.Models.Stats.StatModificationData, System.Text.StringBuilder)System.Text.StringBuilder::Append(System.Char)Dictionary.Enumerator<System.String, Shared.Models.Stats.StatModificationData>::MoveNext()System.IDisposable::Dispose()Shared.Text.StringId::op_Implicit(System.String)
String literals
$Sbuilding_appealBuildings_BuildingAppeal$r
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
6B684908C9FBFBEA65F0B160D05DB05025AFA49DDEE0DC33E93B97B8722394EC - Body hash
28CE407124EEC7B8896CA3A14FA5B7DC2742099D7BAA28285E360D7456F8FD49 - IL size2