CandideServer.Toolkit.TileBoundsHelper
Type JSONpublic class in CandideServer.Toolkit
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.Toolkit - Base type
System.Object - Hash
7AA0FCC7E5B60330DB6CA7189DE55745F9C205A1B02F143076FE40FD5AF59D8C
Relationships
Base type
System.Object
Methods
GetCenteredPositionFromTileBounds
#
public Microsoft.Xna.Framework.Vector2 GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle tileBounds)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
2E996879F654AE99F9744B30468095EE55722764AE38408BFDC18407464CB1B2 - Body hash
9653F82A77F089EC6AA795CD858D7253A9550BCF6A9AA40B04E407E89A458C1A - IL size68
Referenced calls
Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Rectangle::get_Size()Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
Called by
CandideServer.Buildings.BuildingControllers.BeehiveBuildingController::OnBuildingRemoveCandideServer.Buildings.BuildingControllers.CarpenterController::FindMaterialStorageAndCreateConnectionCandideServer.Buildings.BuildingControllers.FarmsteadController::CheckForBeehivesCandideServer.Buildings.BuildingControllers.FarmsteadController::CheckForWellCandideServer.Buildings.BuildingControllers.FoodStorageController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.LumberYardController::OnTickJobCandideServer.Buildings.BuildingControllers.MillController::EjectInventoryCandideServer.Buildings.BuildingControllers.SculptorController::FindMaterialStorageAndCreateConnectionCandideServer.Helpers.TradeRoutesHelper::GetDistanceCandideServer.ServerControllers.BuildingsSController::RemoveBuildingCandideServer.ServerControllers.DecorationsSController::RemoveDecorationCandideServer.ServerControllers.DecorationsSController::UpdateNearbyBuildingStatsCandideServer.ServerManagers.BuildingsServerManager::GetClosestBuildingCandideServer.ServerManagers.BuildingsServerManager::GetClosestBuildingIntersectingCircleAreaCandideServer.ServerManagers.CitizenServerManager::CitizenConsumeFoodFromNearbySourceCandideServer.ServerManagers.ConstructionSitesServerManager::TryGetClosestConstructionSiteCandideServer.ServerManagers.DecorationsServerManager::TrySpawnNewDecorationConstructionCandideServer.ServerManagers.DecorationsServerManager::TryUpgradeDecorationCandideServer.ServerManagers.TradeRoutesServerManager::Do_WaitingToLoadAtHomeCandideServer.ServerManagers.WorldServerManager::TryGetNearestOutsidePositionCandideServer.ServerServices.PlayerServerService::OnReceive_TeleportCandideServer.ServerSystems.ServerDirectorSystem::OnRaidBeatenCandide.CandideUI.ConstructionsUi.ConstructionsUiWindow::UpdateCandide.Entities.PlayerState.PlayerStates.PlacingState::BeforeRenderCandide.GameModels.Managers.BuildingsManager::BuildingUpgradedCandide.GameModels.Managers.ConstructionsManager::TryPlaceConstructionCandide.GameModels.Managers.WorldManager::TryGetNearestOutsidePositionCandide.PlayerMode.Construction.SelectedConstructionBuildingsProximityFunctionality::DrawInWorldUiCandide.PlayerMode.Construction.SelectedConstructionBuildingsProximityFunctionality::IsValidCandide.PlayerMode.Construction.SelectedConstructionCitizenStatsProximityFunctionality::DrawInWorldUiCandide.PlayerMode.Construction.SelectedConstructionFoodDispenserProximityFunctionality::DrawInWorldUiCandide.PlayerMode.Logistics.LogisticsModeManager::DrawInWorldUi
GetTileBoundsFromPoints
#
public Microsoft.Xna.Framework.Rectangle GetTileBoundsFromPoints(System.Collections.Generic.List<Microsoft.Xna.Framework.Point> points)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Rectangle - StaticTrue
- VirtualFalse
- Hash
D284FAAB896BB7D4E3B7B61175E0D9909B88BB37A94194ACFD05EDE8FEEBA57D - Body hash
02535C74BA93E46BEBF18C836C4BE2A670D6E19B31335F8A036FA91CA60EE7AD - IL size186
Referenced calls
System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::get_Count()Microsoft.Xna.Framework.Rectangle::get_Empty()System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::get_Item(System.Int32)System.Collections.Generic.List<Microsoft.Xna.Framework.Point>::GetEnumerator()List.Enumerator<Microsoft.Xna.Framework.Point>::get_Current()List.Enumerator<Microsoft.Xna.Framework.Point>::MoveNext()System.IDisposable::Dispose()Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
GetTopCenteredPositionFromTileBounds
#
public Microsoft.Xna.Framework.Vector2 GetTopCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle tileBounds)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
564BB3519EE2CB1FC45F99D5534DAE62961510E9C3FFA1145AB12D117AD44DFE - Body hash
818DA93D71CED0186E81F596F79BCDCB7E3B8D0BA96B3FE25D66BA9746270D6A - IL size70
Referenced calls
Microsoft.Xna.Framework.Rectangle::get_Location()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)