Shared.Data.ConstructionDataBase
Type JSONpublic class in Shared.Data
Type metadata
- Assembly
Shared - Namespace
Shared.Data - Base type
System.Object - Hash
48380C71B910D846285F0BE5883398D887F0F646E2577CC7FCBD3C20580041E4
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
DataMap# | public | public System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel> DataMap |
MissingData# | public | public Shared.Models.Construction.ConstructionModel MissingData |
SuffixDescription# | public | public System.String SuffixDescription |
SuffixName# | public | public System.String SuffixName |
UpgradeMap# | public | public System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>> UpgradeMap |
Methods
AddConstructions
#
public System.Void AddConstructions(System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel> constructionList)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
CD8E41BF12D74DBBB4FE9864ADCF25AE2650110BEF9573FA0C57176E2A3FCAF8 - Body hash
5539BF7DDE152D52D4F93DE5C5F60A2DE66E2F839F6B23C0B10102983351B7BD - IL size360
Referenced calls
System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::GetEnumerator()List.Enumerator<Shared.Models.Construction.ConstructionModel>::get_Current()System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel>::ContainsKey(!0)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)System.Exception::.ctor(System.String)System.String::Concat(System.String, System.String)Shared.Text.StringId::op_Implicit(System.String)System.Nullable<Shared.Text.StringId>::get_HasValue()System.Nullable<Shared.Text.StringId>::.ctor(!0)System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel>::set_Item(!0, !1)System.String::IsNullOrWhiteSpace(System.String)System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>>::TryGetValue(!0, !1&)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::Add(!0)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::.ctor()System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>>::set_Item(!0, !1)List.Enumerator<Shared.Models.Construction.ConstructionModel>::MoveNext()System.IDisposable::Dispose()
Called by
String literals
Detected duplicate construction id ''.Constructionis missing an area.does not have a main area.*construction:name*construction:description
Clear
#
public System.Void Clear()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
1642B712F5EF49537E4CD3FF2C7D3FEC2C7C8C6B0A1DC2D79915AED910ED1DEA - Body hash
3F9842D09DBCBB6420962C6A53B75D0CAD2BA5FA2195CB061268FBDAD2C4782A - IL size21
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel>::Clear()System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>>::Clear()
GetConstructionOrMissing
#
public Shared.Models.Construction.ConstructionModel GetConstructionOrMissing(System.String id)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Construction.ConstructionModel - StaticTrue
- VirtualFalse
- Hash
496CF05A71F176671DA16872283FB87018C0D567CE47D5717BDA0F3F1FA60C73 - Body hash
EC1FC530BC34A7D6080767A4540B347A809B5A2CB55621ED5DB9CB0A1ECB17FE - IL size26
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel>::TryGetValue(!0, !1&)
Called by
BM.TryGetCarryableResourceOnConstructionSite::UpdateCandideServer.Buildings.BuildingControllers.AbstractBuildingController::ValidateResourceStorageMaximumsCandideServer.Buildings.BuildingControllers.ClaypitController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.LumberYardController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.MaterialStorageController::OnNewlyCreatedCandideServer.Buildings.BuildingControllers.QuarryController::OnNewlyCreatedCandideServer.Citizens.GenericServerCitizenController::ConstructionSiteHasAllRequiredResourcesCandideServer.Entities.ControllerSets.VulcanPuzzles.ServerVulcanOfferingPlatformController::CheckEntitiesCandideServer.Models.Rewards.ConstructionRewardStrategy::GetNameCandideServer.Models.Rewards.ConstructionsRewardStrategy::GetNameCandideServer.ServerControllers.BuildingsSController::SpawnNewBuildingConstructionCandideServer.ServerManagers.ConstructionSitesServerManager::TryBuildConstructionSiteCandideServer.ServerManagers.ConstructionsServerManager::SpawnConstructionCandideServer.ServerManagers.DecorationsServerManager::TrySpawnNewDecorationConstructionCandide.CandideUI.ConstructionsUi.ConstructionDescriptionWindow::SetConstructionCandide.CandideUI.ConstructionsUi.ConstructionPlacementInfoTooltipWindow::UpdateCandide.CandideUI.ConstructionsUi.ConstructionsUiWindow::ShowTooltipCandide.CandideUI.ConstructionsUi.ConstructionsUiWindow::UpdateCandide.CandideUI.ConstructionsUi.SubConstructionsWindow::SetSubConstructionCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildActiveCitizenTooltipContentCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildCitizenTooltipContentCandide.CandideUI.TownOverview.Components.TownOverviewCitizenHolder::OnCitizenChangedCandide.CandideUI.TownReport.TownReportDescriptionComponent::CreateCitizenSummaryDisplayCandide.CandideUI.Tutorial.TutorialHandler::Tutorial_PlayerBuiltConstructionCandide.CandideUI.WorshipUi.AltarMainMenu::TeleportButton_OnClickCandide.GameModels.Controllers.ConstructionSitesController::SyncFullGameStateCandide.GameModels.Managers.LogisticsManager::TryCreateNewConnectionCandide.GameModels.Managers.LogisticsManager::TryEditConnectionCandide.GameModels.Models.ConstructionRecipes::AddCandide.GameModels.Models.Spells.PlaceConstructionSpell::GetToolTipTextCandide.PlayerMode.Construction.Constructing.ConstructingHandler::UpdateCandide.PlayerMode.Construction.HighlightedBuilding::Set
GetConstructionOrNull
#
public Shared.Models.Construction.ConstructionModel GetConstructionOrNull(System.String id)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Construction.ConstructionModel - StaticTrue
- VirtualFalse
- Hash
1CAAC3F0BAF4A9001D782D1831FF50985A3D46C3B91336B7A92E6B248B6DF27F - Body hash
A4CCB3834CA6A111B0F740C8B9E2E17109173CD1B5676FE5C0384E2578AE9528 - IL size22
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel>::TryGetValue(!0, !1&)
Called by
CandideServer.Models.Rewards.ConstructionRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.ConstructionsRewardStrategy::GetTextDescriptionCandideServer.ServerControllers.ConstructionSitesSController::OnServerGameStateLoadedCandideServer.ServerManagers.BuildingsServerManager::TryUpgradeBuildingCandideServer.ServerManagers.ConstructionSitesServerManager::DoConstructActionInProgressCandideServer.ServerManagers.ConstructionSitesServerManager::DoPlayerConstructActionInProgressCandideServer.ServerManagers.ConstructionSitesServerManager::StartConstructActionInProgressCandideServer.ServerManagers.ConstructionsServerManager::TryPlaceConstructionCandideServer.ServerManagers.DecorationsServerManager::TryUpgradeDecorationCandide.CandideUI.ConstructionsUi.ConstructionsOptionsControl::UpdateOptionsCandide.CandideUI.Helpers.ConstructionsUpgradeHelper::GetAvailableUpgradesForConstructionCandide.CandideUI.JobUiNew.Components.CitizenDisplayData::FromCitizenCandide.CandideUI.WorshipUi.AltarMainMenu::UpdateTeleportBtnCandide.GameModels.Managers.BuildingsManager::BuildingSpawnedCandide.GameModels.Managers.DecorationsManager::SyncDecorationSpawnedCandide.GameModels.Managers.TownsManager::FindHighestLevelledCarpenterForTownCandide.GameModels.Models.Spells.PlaceConstructionSpell::CanCastCandide.GameModels.Models.Spells.PlaceConstructionSpell::CastCandide.GameModels.Services.ConstructionSitesService::OnReceive_CreateConstructionSiteCandide.PlayerMode.Construction.Constructing.ConstructingHandler::SetSelectedConstructionCandide.PlayerMode.Construction.PlacingConstruction::SetConstruction
GetConstructionsWithBaseId
#
public Shared.Models.Construction.ConstructionModel[] GetConstructionsWithBaseId(System.String baseId, System.Boolean sortByUpgradeLevel)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Construction.ConstructionModel[] - StaticTrue
- VirtualFalse
- Hash
F9E532D48F95F1588AE76AF55F89DCC74E576BA3C14B3DED7BF342E08C0141D8 - Body hash
0FBFF020C7D143385418999D0700AD1FFB5A2E116D33EE6B370FB07F2F66E43B - IL size230
Referenced calls
System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::.ctor()System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionModel>::get_Values()Dictionary.ValueCollection<System.String, Shared.Models.Construction.ConstructionModel>::GetEnumerator()Dictionary.ValueCollection.Enumerator<System.String, Shared.Models.Construction.ConstructionModel>::get_Current()System.String::Split(System.Char, System.StringSplitOptions)System.String::op_Equality(System.String, System.String)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::Add(!0)Dictionary.ValueCollection.Enumerator<System.String, Shared.Models.Construction.ConstructionModel>::MoveNext()System.IDisposable::Dispose()System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::get_Count()System.Array::Empty()System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::ToArray()System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::get_Item(System.Int32)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::GetEnumerator()List.Enumerator<Shared.Models.Construction.ConstructionModel>::get_Current()List.Enumerator<Shared.Models.Construction.ConstructionModel>::MoveNext()System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::Remove(!0)
GetUpgradesForBuilding
#
public System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel> GetUpgradesForBuilding(System.String buildingId)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel> - StaticTrue
- VirtualFalse
- Hash
B4DF92607D0DA45E20488AF1A476BE125ED3FAED89E5652345FE54F07AED6B6D - Body hash
02B15CA3D66EE90C63D096208139D63446FB6142D3EA487599B26A0ECE8F589D - IL size23
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>>::TryGetValue(!0, !1&)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::.ctor()
GetUpgradesForDecoration
#
public System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel> GetUpgradesForDecoration(System.String decorationId)
Method metadata
- Visibilitypublic
- Return type
System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel> - StaticTrue
- VirtualFalse
- Hash
E18989B5CE7487FFE22B22599D2F4DF13C95EAE038C0FC715EDF44CDDC94606F - Body hash
02B15CA3D66EE90C63D096208139D63446FB6142D3EA487599B26A0ECE8F589D - IL size23
Referenced calls
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>>::TryGetValue(!0, !1&)System.Collections.Generic.List<Shared.Models.Construction.ConstructionModel>::.ctor()