Candide.GameModels.Managers.ConstructionsManager
Type JSONpublic class in Candide.GameModels.Managers
Type metadata
- Assembly
Romestead - Namespace
Candide.GameModels.Managers - Base type
System.Object - Hash
173A308DAA2E2567D00AA23438A8E72201E07522280A1E8D865185ECED5BE32F
Relationships
Base type
System.Object
Methods
SpawnConstructionCheat
#
public System.Void SpawnConstructionCheat(System.String id, Microsoft.Xna.Framework.Vector2 position)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1F2BA69528E24292C643E1C7152B3DB80B15A5E2563365E21826CEAA3101F041 - Body hash
7AFC805DE354251A949F65CD912FB4BBFCCBD03E65C85EE6A2AA6F53E78E2405 - IL size45
Referenced calls
TryPlaceConstruction
#
public System.Void TryPlaceConstruction(Microsoft.Xna.Framework.Point tilePosition, Shared.Models.Construction.ConstructionModel construction, Shared.Models.Items.ItemInstanceModel item)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AA1BB0A800BC7707D7407EEF8BBB2A98C6FD3105B34050EB8A2BC6B77D2FB216 - Body hash
976FAA2A8A321CE5E18E0601561158F38F713D945BAA489424F342205893D403 - IL size246
Referenced calls
ConstructionsManager.<>c__DisplayClass0_0::.ctor()System.Guid::TryParse(System.String, System.Guid&)System.Guid::NewGuid()Shared.Models.Construction.ConstructionSpaceInfo::get_GetMainArea()Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.GameModels.Controllers.EntityController::SpawnEntityBase(System.Guid, Microsoft.Xna.Framework.Vector3, System.Guid, System.Guid, System.Boolean, System.Boolean)ConstructionsManager.<>c__DisplayClass0_0::<TryPlaceConstruction>b__0()System.Action::.ctor(System.Object, System.IntPtr)Candide.GameModels.Services.ConstructionSitesService::SendGetPlaceConstruction(System.Guid, Microsoft.Xna.Framework.Point, System.Guid, System.Action)Shared.Entity.EntityWrapper::get_Controller()CandideServer.EventBus.EventBusManager::SendEvent(System.String, System.Object, System.Boolean)
String literals
furniture-placed
TryRemoveConstructionAtTile
#
public System.Boolean TryRemoveConstructionAtTile(Microsoft.Xna.Framework.Point point, System.Guid townId)
Method metadata
- Visibilitypublic
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
6B9DF50B81902A851DB951F553C15E9429AD8814F1A8B81A58326B86D2911AAF - Body hash
D0FBAFC47845B6142676580D8D8B5E56C99A8DDB86E22F6A8B6920B56ECC8088 - IL size119
Referenced calls
Candide.GameModels.GameState::TryGetTown(System.Guid, Candide.GameModels.Models.ClientTownModel&)System.Collections.Generic.HashSet<System.Guid>::GetEnumerator()HashSet.Enumerator<System.Guid>::get_Current()System.Nullable<System.Guid>::.ctor(!0)Candide.GameModels.GameState::TryGetBuilding(System.Nullable<System.Guid>, Candide.GameModels.Models.Constructions.Building&)Microsoft.Xna.Framework.Rectangle::Contains(Microsoft.Xna.Framework.Point)Candide.GameModels.Managers.BuildingsManager::TryRemoveBuilding(System.Guid)HashSet.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()