CandideServer.ServerControllers.BuildingsSController
Type JSONpublic class in CandideServer.ServerControllers
Type metadata
- Assembly
CandideServer - Namespace
CandideServer.ServerControllers - Base type
System.Object - Hash
9230272563EF429A34B844DAC221B1BC348E51E5C9FF5413B972F8CFA2663DD0
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
BuildingAppealStatModifierId# | public | public System.Guid BuildingAppealStatModifierId |
BuildingRemoved# | private | private BuildingsSController.ServerGameStateBuildingRemoved BuildingRemoved |
NewBuildingSpawned# | private | private BuildingsSController.ServerGameStateBuildingAdded NewBuildingSpawned |
Events
| Name | Visibility | Signature |
|---|---|---|
BuildingRemoved# | public | public BuildingsSController.ServerGameStateBuildingRemoved BuildingRemoved |
NewBuildingSpawned# | public | public BuildingsSController.ServerGameStateBuildingAdded NewBuildingSpawned |
Methods
AfterWorldGameStateLoaded
#
public System.Void AfterWorldGameStateLoaded()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
350B753A739EF083E6A07A7369FA0C153C5CF6D06FBD51EAB7021F3C72F3CEB7 - Body hash
5B674B3EBC2108AFECA4D21E262FC3BF9C7E435616DDEFF036E5D57BF95334BD - IL size234
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::get_Current()CandideServer.Buildings.BuildingControllers.AbstractBuildingController::OnLoaded()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.JobModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.Models.JobModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.JobModel>::get_Current()System.Collections.Generic.List<CandideServer.Models.WorkOrders.WorkOrderModel>::GetEnumerator()List.Enumerator<CandideServer.Models.WorkOrders.WorkOrderModel>::get_Current()System.Array::Empty()List.Enumerator<CandideServer.Models.WorkOrders.WorkOrderModel>::MoveNext()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.Models.JobModel>::MoveNext()
BeforeWorldGameStateLoaded
#
public System.Void BeforeWorldGameStateLoaded()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
516551A3C81B426A98C7C19A504EB5EBA2200E8689EFB6BAB130AC078CAE43A9 - Body hash
C1677654388180740C45C7EE003EC1B43E0E0CD2CE73E15360BE4DA740C087F8 - IL size259
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::get_Values()Dictionary.ValueCollection<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::get_Current()System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()CandideServer.Helpers.ServerBiomeCategoryHelper::GetBiomeCategoryServer(Microsoft.Xna.Framework.Rectangle, System.Guid)Shared.Data.BuildingDataBase::GetBuildingOrNull(System.String)Shared.Models.Buildings.BuildingData::GetExteriorMap(System.String)System.String::IsNullOrWhiteSpace(System.String)System.Collections.Generic.Dictionary<System.String, CandideServer.World.ServerWorldData>::ContainsKey(!0)Dictionary.ValueCollection.Enumerator<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::MoveNext()System.IDisposable::Dispose()
CalculateAndApplyBuildingAppeal
#
private System.Void CalculateAndApplyBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstanceModel, System.Boolean skipApplyingToCitizen)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
107ED31C63D176969A600C3DFC18FF13213B07C00D96ADEEF85318BDC1869728 - Body hash
7FE3A5264AFDCC7ACE4C4EDD1EA082B00179F52BFF7F1D460EB2B1617B96E49E - IL size286
Referenced calls
System.Nullable<System.Single>::get_HasValue()Shared.Models.WorldStats::Get(System.String)Shared.Helpers.BuildingAppealHelper::GetMaxAppealForBuilding(System.String, System.Single)System.Nullable<System.Single>::GetValueOrDefault()System.Collections.Generic.Dictionary<System.Guid, System.Single>::GetEnumerator()Dictionary.Enumerator<System.Guid, System.Single>::get_Current()System.Collections.Generic.KeyValuePair<System.Guid, System.Single>::Deconstruct(!0&, !1&)Dictionary.Enumerator<System.Guid, System.Single>::MoveNext()System.IDisposable::Dispose()System.MathF::Min(System.Single, System.Single)System.Runtime.CompilerServices.RuntimeHelpers::InitializeArray(System.Array, System.RuntimeFieldHandle)Shared.Helpers.BuildingAppealHelper::CalculateHappinessFromAppeal(System.Single, System.Single[], System.Single)System.Nullable<System.Single>::.ctor(!0)CandideServer.ServerControllers.BuildingsSController::RemoveBuildingCitizenStatModifier(CandideServer.Models.Buildings.BuildingInstanceModel, System.Guid, System.Boolean)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>::.ctor()System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>::Add(!0, !1)CandideServer.ServerControllers.BuildingsSController::RegisterBuildingCitizenStatModifier(CandideServer.Models.Buildings.BuildingInstanceModel, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>, System.Guid, Shared.Models.Stats.StatModifierType, System.Boolean)
Called by
String literals
WorldStats_MaxBuildingAppealModifierCitizen_Happiness
CreateBuildingInventory
#
public Shared.Models.Items.SharedInventoryModel CreateBuildingInventory(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, Shared.Messages.CreateNewInventoryMessage msg, CandideServer.ServerControllers.IOInventoryCreationType type)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Items.SharedInventoryModel - StaticTrue
- VirtualFalse
- Hash
BDD57E884866B40D1FEC8534BD27FCF0791BB9F02A209E81E7A1CFD92D74FADC - Body hash
64FB7F68DF69A9393899DBAAEB98B48BDFED82249BA9B375EDAF9C3A5E5C0C0F - IL size323
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideServer.ServerControllers.ServerSimpleInventoryException::.ctor(System.String)CandideServer.ServerControllers.SimpleInventorySController::CreateNewInventory(Shared.Messages.CreateNewInventoryMessage, System.Boolean)System.Nullable<System.Guid>::.ctor(!0)System.ArgumentOutOfRangeException::.ctor(System.String, System.Object, System.String)
Called by
CandideServer.Buildings.BuildingControllers.AltarBuildingController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.BakeryController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.BeehiveBuildingController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.BlacksmithController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.CarpenterController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.ClaypitController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.DoliumController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.FarmsteadController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.FoodStorageController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.LeatherworkerController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.LumberYardController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.MaterialStorageController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.MillController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.PotteryController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.QuarryController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.SculptorController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.TradingPostController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.UniversityController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.WaterMillController::OnNewlyCreated
String literals
Buildingalready has a Storage Inventory and creation type is set toalready has an Output Inventory and creation type is set totype
GetOutsideWorldIdFromBuildingId
#
public System.Nullable<System.Guid> GetOutsideWorldIdFromBuildingId(System.Guid buildingId)
Method metadata
- Visibilitypublic
- Return type
System.Nullable<System.Guid> - StaticTrue
- VirtualFalse
- Hash
B5C3AD9E27A0FCC34082C068A731A889154B7CAC5A3DAFAF6554879021D27F3E - Body hash
987D4C311EF0BA2871FBCDA3EFD050C5CAD9F4DFFFE5AAC09E35B3B783C97E28 - IL size103
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::TryGetValue(!0, !1&)System.Collections.Generic.Dictionary<System.Guid, CandideServer.Models.Worlds.WorldModel>::TryGetValue(!0, !1&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::GetValueOrDefault()System.Nullable<System.Guid>::.ctor(!0)
RegisterBuildingCitizenStatModifier
#
public System.Void RegisterBuildingCitizenStatModifier(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData> decorationCitizenStatBonuses, System.Guid modifierId, Shared.Models.Stats.StatModifierType type, System.Boolean skipApplyingToCitizen)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
23649C0A54AE8D2C88A5BA99302ED1B82D08FC74253C8AF6FA3C09C9A6D5FB11 - Body hash
2F258A4AB88E55C8D222BDF6E6798673725A6C8DDCB0E6CAAC8361901BFC1EA1 - IL size150
Referenced calls
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()System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::TryGetValue(!0, !1&)Shared.Models.Stats.Stat::.ctor(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::set_Item(!0, !1)System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.StatModificationData>::get_Value()Shared.Models.Stats.Stat::SetStatModifier(System.Guid, Shared.Models.Stats.StatModifier)Dictionary.Enumerator<System.String, Shared.Models.Stats.StatModificationData>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerControllers.BuildingsSController::UpdateCitizenSlotsStatsAndSendUpdates(CandideServer.Models.Buildings.BuildingInstanceModel)
RegisterDecoration
#
public System.Void RegisterDecoration(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, Shared.Data.Decorations.DecorationData decoration, System.Guid spawnId, System.Boolean skipUpdates)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
11E26E7FDA6A260F6E41E2B7211B59C719A6D8028C0B657C5BF35E81F16CE0F3 - Body hash
D8EAB01DAEDA04BFC185F1EF6B06B14D2AC16DC2480C4BE676B49E8545EEE686 - IL size96
Referenced calls
System.Nullable<System.Single>::get_HasValue()System.Collections.Generic.Dictionary<System.Guid, System.Single>::set_Item(!0, !1)CandideServer.ServerControllers.BuildingsSController::CalculateAndApplyBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel, System.Boolean)CandideServer.ServerControllers.BuildingsSController::RegisterBuildingCitizenStatModifier(CandideServer.Models.Buildings.BuildingInstanceModel, System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.StatModificationData>, System.Guid, Shared.Models.Stats.StatModifierType, System.Boolean)CandideServer.ServerControllers.BuildingsSController::UpdateSendBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel)CandideServer.ServerControllers.BuildingsSController::UpdateCitizenSlotsStatsAndSendUpdates(CandideServer.Models.Buildings.BuildingInstanceModel)
RegisterInternalResourceStorage
#
public System.Void RegisterInternalResourceStorage(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, System.Guid storageId, CandideServer.ServerControllers.IOStorageCreationType type)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
75707F8F9BFD2A9368DF4293217728C7E5FD3F3177406B056E0F620828F0AD08 - Body hash
6CA6444080CB5E12567C0BD7A35A2D5E26646DDCAC8B206FACB6029CF8F12E8F - IL size177
Referenced calls
System.Nullable<System.Guid>::get_HasValue()System.Exception::.ctor(System.String)System.Nullable<System.Guid>::.ctor(!0)System.ArgumentOutOfRangeException::.ctor(System.String, System.Object, System.String)
Called by
String literals
Building instance already has a storage ID setBuilding instance already has a output ID setBuilding instance already has a storage ID and output ID settype
RemoveBuilding
#
public CandideServer.MessageModels.Buildings.BuildingRemovedMessage RemoveBuilding(System.Guid buildingId)
Method metadata
- Visibilitypublic
- Return type
CandideServer.MessageModels.Buildings.BuildingRemovedMessage - StaticTrue
- VirtualFalse
- Hash
88CC2B8066926FD7B9CE5D2E68AA3B89E67F8C400184B6F09124AE9ADA69FC1B - Body hash
BEC28A098AC06F9DAC1B9515C5679F6B23EABD1C21A992E0BDE1EBBCA8D88931 - IL size2855
Referenced calls
CandideServer.ServerGameState::TryGetBuilding(System.Guid, CandideServer.SimulationModels.BuildingSimulationModel&)System.Nullable<System.Guid>::get_HasValue()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetTown(System.Guid, CandideServer.Models.Town.ServerTownModel&)CandideServer.ServerGameState::TryGetWorld(System.Guid, CandideServer.Models.Worlds.WorldModel&)CandideServer.Exceptions.CorruptServerGameStateException::.ctor(System.String)System.NotImplementedException::.ctor(System.String)CandideServer.Toolkit.TileBoundsHelper::GetCenteredPositionFromTileBounds(Microsoft.Xna.Framework.Rectangle)CandideCreator.Shared.Helpers.VectorExtension::ToVector3Xy(Microsoft.Xna.Framework.Vector2)System.Collections.Generic.Dictionary<System.Guid, CandideServer.SimulationModels.BuildingSimulationModel>::.ctor()System.Collections.Generic.Dictionary<System.Guid, CandideServer.MessageModels.Towns.CitizenTownOverviewData>::.ctor()System.Collections.Generic.List<CandideServer.Models.Citizen.CitizenModel>::.ctor()CandideServer.MessageModels.Buildings.BuildingRemovedMessage::.ctor()System.Collections.Generic.List<CandideServer.MessageModels.Citizens.Jobs.UpdateJobMessage>::.ctor()System.Collections.Generic.List<System.Guid>::.ctor()System.Collections.Generic.Dictionary<System.Guid, Shared.Text.StringId>::.ctor()CandideServer.ServerControllers.LogisticsServerController::RemoveBuildingConnections(CandideServer.SimulationModels.BuildingSimulationModel)System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()CandideServer.ServerGameState::TryGetCitizenSlot(System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel&)CandideServer.ServerGameState::TryGetCitizen(System.Guid, CandideServer.Models.Citizen.CitizenModel&)System.Collections.Generic.HashSet<System.Guid>::Contains(!0)CandideServer.ServerControllers.UnassignCitizenSlotMessage::.ctor()CandideServer.ServerControllers.CitizenSlotsSController::UnassignCitizenSlot(CandideServer.ServerControllers.UnassignCitizenSlotMessage)System.Collections.Generic.List<CandideServer.Models.Citizen.CitizenModel>::Add(!0)CandideServer.ServerControllers.BuildingsSController::<RemoveBuilding>g__FindNewSlot|13_0(BuildingsSController.<>c__DisplayClass13_0&)
Called by
String literals
Building does not have a town ID,Trying to remove buildingbut the storage inventory associated no longer exists. Server game state is corruptBuildings can only be removed from the main world right nowbut the citizen slots associated no longer exists. Server game state is corruptbut the citizenassociated no longer exists. Server game state is corruptassociated is not listed in its associated town. Server game state is corruptwild_citizen_idbut the output inventory associated no longer exists. Server game state is corrupt
RemoveBuildingAppealModifier
#
private System.Boolean RemoveBuildingAppealModifier(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstanceModel, System.Guid decorationId, System.Boolean skipApplyingToCitizen)
Method metadata
- Visibilityprivate
- Return type
System.Boolean - StaticTrue
- VirtualFalse
- Hash
B53A43590C2CCA7AD0E76FB555F78DA557D47F44F760604C3009D36117098967 - Body hash
81AA38D293F974377CB829666D9199DABC4EE55E0D57644E75C1694500F4F472 - IL size25
Referenced calls
System.Collections.Generic.Dictionary<System.Guid, System.Single>::Remove(!0)CandideServer.ServerControllers.BuildingsSController::CalculateAndApplyBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel, System.Boolean)
RemoveBuildingCitizenStatModifier
#
public System.Void RemoveBuildingCitizenStatModifier(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, System.Guid modifierId, System.Boolean skipApplyingToCitizen)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
FD9A3B8D8955C1B310679A3BA24DD47F09C4B3F45E2106B4461E23CF561ECAD1 - Body hash
943FCD7A7668503BE651F8F3E70181872036D6AA5B3D038C0D15C1FEC6C33F1E - IL size76
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Stats.Stat>::GetEnumerator()Dictionary.Enumerator<System.String, Shared.Models.Stats.Stat>::get_Current()System.Collections.Generic.KeyValuePair<System.String, Shared.Models.Stats.Stat>::Deconstruct(!0&, !1&)Shared.Models.Stats.Stat::RemoveStatModifier(System.Guid)Dictionary.Enumerator<System.String, Shared.Models.Stats.Stat>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerControllers.BuildingsSController::UpdateCitizenSlotsStatsAndSendUpdates(CandideServer.Models.Buildings.BuildingInstanceModel)
SpawnNewBuildingConstruction
#
public CandideServer.SimulationModels.BuildingSimulationModel SpawnNewBuildingConstruction(System.String constructionId, System.Guid newBuildingId, Microsoft.Xna.Framework.Rectangle tileBounds, System.Nullable<System.Guid> townId, System.Collections.Generic.Dictionary<System.String, System.String> parameters)
Method metadata
- Visibilitypublic
- Return type
CandideServer.SimulationModels.BuildingSimulationModel - StaticTrue
- VirtualFalse
- Hash
E0ABCB7E1158A6C944A7E1CCB05FD129AE8AB1A79885939F4E40A69868545098 - Body hash
63F7C8A762DD3D3C83DC526F8D5F4AECEF684D4656E6E4138BE1AFD4FF7B26E9 - IL size1190
Referenced calls
Shared.Data.ConstructionDataBase::GetConstructionOrMissing(System.String)Shared.Data.BuildingDataBase::GetBuildingOrMissing(System.String)CandideServer.Helpers.ServerBiomeCategoryHelper::GetBiomeCategoryServer(Microsoft.Xna.Framework.Rectangle, System.Guid)Shared.Models.Buildings.BuildingData::GetExteriorMap(System.String)System.String::op_Equality(System.String, System.String)CandideServer.MessageModels.Worlds.NewWorldMessage::.ctor()System.String::Concat(System.String, System.String)System.Guid::NewGuid()System.Nullable<System.Guid>::.ctor(!0)CandideServer.ServerControllers.WorldSController::NewWorld(CandideServer.MessageModels.Worlds.NewWorldMessage, System.Func<CandideServer.ServerControllers.SpawnEntityArgs, CandideServer.World.ServerEntitySpawnData, System.Boolean>)Shared.Analytics.AnalyticsHandler::ToIdString(System.String)Microsoft.Xna.Framework.Rectangle::get_Center()CandideServer.ServerManagers.ServerAnalyticsManager::SetAnalyticEventTile(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)System.String::Concat(System.String, System.String, System.String)CandideServer.ServerGameState::GetWorldPlayTimeHours()Shared.Analytics.AnalyticsHandler::Log(System.String, System.Double, AnalyticsHandler.LogType, System.Single)System.Collections.Generic.List<CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage>::.ctor()System.Collections.Generic.List<Shared.Models.Buildings.CitizenSlotData>::get_Item(System.Int32)CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage::.ctor()System.String::IsNullOrEmpty(System.String)System.Collections.Generic.List<CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage>::Add(!0)System.Collections.Generic.List<Shared.Models.Buildings.CitizenSlotData>::get_Count()CandideServer.ServerControllers.CitizenSlotsSController::CreateCitizenSlots(System.Collections.Generic.IEnumerable<CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage>, System.Int32)CandideServer.Models.Buildings.BuildingInstanceModel::.ctor()System.Nullable<System.Single>::.ctor(!0)CandideServer.SimulationModels.BuildingSimulationModel::.ctor(CandideServer.Models.Buildings.BuildingInstanceModel)System.Collections.Generic.Dictionary<System.String, System.String>::GetEnumerator()Dictionary.Enumerator<System.String, System.String>::get_Current()System.Collections.Generic.KeyValuePair<System.String, System.String>::get_Key()System.Collections.Generic.KeyValuePair<System.String, System.String>::get_Value()System.Collections.Generic.Dictionary<System.String, System.String>::set_Item(!0, !1)Dictionary.Enumerator<System.String, System.String>::MoveNext()
String literals
Exterior Mapbuilding::first:countDid not place down any tiles when constructing building '' with exterior map ''Interior Map
UnregisterDecoration
#
public System.Void UnregisterDecoration(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance, System.Guid decorationId, System.Boolean skipUpdates)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
47C8258BB706B3818EC5CAB23EEA8F79B39503F0BAE2551CCF931E0A0C260BB4 - Body hash
AF955AC209F92E374B11AF40725A42A71A216370B204666A72D3223259E47CC1 - IL size37
Referenced calls
CandideServer.ServerControllers.BuildingsSController::RemoveBuildingAppealModifier(CandideServer.Models.Buildings.BuildingInstanceModel, System.Guid, System.Boolean)CandideServer.ServerControllers.BuildingsSController::RemoveBuildingCitizenStatModifier(CandideServer.Models.Buildings.BuildingInstanceModel, System.Guid, System.Boolean)CandideServer.ServerControllers.BuildingsSController::UpdateSendBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel)CandideServer.ServerControllers.BuildingsSController::UpdateCitizenSlotsStatsAndSendUpdates(CandideServer.Models.Buildings.BuildingInstanceModel)
UpdateBuildingParameters
#
public System.Void UpdateBuildingParameters(CandideServer.MessageModels.Buildings.UpdateBuildingParametersMessage msg)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E4CFA9B3D089247506D6448587C31AEC0D6E01B9A2894C369838B3E1C3065134 - Body hash
2CA66A7B8FCCE5984D2EFD45432A1CDC30E5E56B6C83CE22DF073D5E2304FDD0 - IL size94
Referenced calls
CandideServer.ServerGameState::TryGetBuilding(System.Guid, CandideServer.SimulationModels.BuildingSimulationModel&)System.Collections.Generic.Dictionary<System.String, System.String>::GetEnumerator()Dictionary.Enumerator<System.String, System.String>::get_Current()System.Collections.Generic.KeyValuePair<System.String, System.String>::get_Key()System.Collections.Generic.KeyValuePair<System.String, System.String>::get_Value()System.Collections.Generic.Dictionary<System.String, System.String>::set_Item(!0, !1)Dictionary.Enumerator<System.String, System.String>::MoveNext()System.IDisposable::Dispose()
UpdateCitizenSlotsStatsAndSendUpdates
#
public System.Void UpdateCitizenSlotsStatsAndSendUpdates(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
04B080A0993C132E5C94F7635A4BC3D471530EAD117D4D5CBB0C973355FEC4EC - Body hash
7047B9DD478FC1D05E5FD0CE05E0D4AA1C2E14C5F125381AE6BDCD3C641F678E - IL size106
Referenced calls
System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()CandideServer.ServerGameState::TryGetCitizenSlot(System.Guid, CandideServer.SimulationModels.CitizenSlotSimulationModel&)System.Nullable<System.Guid>::get_HasValue()System.Nullable<System.Guid>::get_Value()CandideServer.ServerGameState::TryGetCitizen(System.Guid, CandideServer.Models.Citizen.CitizenModel&)CandideServer.ServerManagers.CitizenServerManager::UpdateStatsAndSendUpdate(CandideServer.Models.Citizen.CitizenModel, CandideServer.Models.Buildings.BuildingInstanceModel)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()
Called by
CandideServer.ServerControllers.BuildingsSController::RegisterBuildingCitizenStatModifierCandideServer.ServerControllers.BuildingsSController::RegisterDecorationCandideServer.ServerControllers.BuildingsSController::RemoveBuildingCitizenStatModifierCandideServer.ServerControllers.BuildingsSController::UnregisterDecorationCandideServer.ServerControllers.DecorationsSController::NewBuildingCreatedGetDecorations
UpdateSendBuildingAppeal
#
public System.Void UpdateSendBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel buildingInstance)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2BFEF836EF942B60EF16053C6B3A2C5129A751444470A1B538E299067A7C77A4 - Body hash
115FCEB15D7982BDA1C44E1514B2A72CCBEC536663B1EA06D10F015DD7378148 - IL size49
Referenced calls
System.Nullable<System.Single>::get_HasValue()CandideServer.MessageModels.Buildings.UpdateBuildingAppealMessage::.ctor()CandideServer.ServerServices.BuildingsServerService::Send_UpdateBuildingAppeal(CandideServer.MessageModels.Buildings.UpdateBuildingAppealMessage)
UpgradeBuilding
#
public System.Void UpgradeBuilding(CandideServer.SimulationModels.BuildingSimulationModel building, Shared.Models.Construction.ConstructionModel construction, Shared.Models.Buildings.BuildingData upgradedBuildingData)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
744C59A135C96ADEE540B7500C04A830832F4595A9D3DC9AF12897D9185A3E16 - Body hash
A45AE8BD699F994135AA926F9ABD88C7D9DF114F6F29858BAF580F2531093664 - IL size597
Referenced calls
Shared.Analytics.AnalyticsHandler::ToIdString(System.String)Microsoft.Xna.Framework.Rectangle::get_Center()CandideServer.ServerManagers.ServerAnalyticsManager::SetAnalyticEventTile(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>)System.String::Concat(System.String, System.String, System.String)CandideServer.ServerGameState::GetWorldPlayTimeHours()Shared.Analytics.AnalyticsHandler::Log(System.String, System.Double, AnalyticsHandler.LogType, System.Single)Shared.Models.Buildings.BuildingData::GetExteriorMap(System.String)System.Collections.Generic.List<Shared.Models.Buildings.CitizenSlotData>::get_Count()System.Collections.Generic.List<System.Guid>::get_Count()System.Collections.Generic.List<CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage>::.ctor()System.Collections.Generic.List<Shared.Models.Buildings.CitizenSlotData>::get_Item(System.Int32)CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage::.ctor()System.Guid::NewGuid()System.String::IsNullOrEmpty(System.String)System.Nullable<System.Guid>::.ctor(!0)System.Collections.Generic.List<CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage>::Add(!0)CandideServer.ServerControllers.CitizenSlotsSController::CreateCitizenSlots(System.Collections.Generic.IEnumerable<CandideServer.MessageModels.Citizens.CreateCitizenSlotMessage>, System.Int32)System.Collections.Generic.List<System.Guid>::GetEnumerator()List.Enumerator<System.Guid>::get_Current()System.Collections.Generic.List<System.Guid>::Add(!0)List.Enumerator<System.Guid>::MoveNext()System.IDisposable::Dispose()CandideServer.ServerControllers.BuildingsSController::CalculateAndApplyBuildingAppeal(CandideServer.Models.Buildings.BuildingInstanceModel, System.Boolean)System.String::op_Inequality(System.String, System.String)CandideServer.SimulationModels.BuildingSimulationModel::SetupController()CandideServer.Buildings.BuildingControllers.AbstractBuildingController::OnUpgraded(Shared.Models.Construction.ConstructionModel, Shared.Models.Buildings.BuildingData)
String literals
building::first:count