Shared.Data.ConstructionResourcesDataBase
Type JSONpublic class in Shared.Data
Type metadata
- Assembly
Shared - Namespace
Shared.Data - Base type
System.Object - Hash
EF58187AAD0275E8868D3749947ADCA3B35EE09BA5629EB8B9E7944CE9EE7C12
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
DataMap# | public | public System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionResourceDataModel> DataMap |
MissingData# | public | public Shared.Models.Construction.ConstructionResourceDataModel MissingData |
SuffixDescription# | public | public System.String SuffixDescription |
SuffixName# | public | public System.String SuffixName |
Methods
AddConstructionMaterials
#
public System.Void AddConstructionMaterials(System.Collections.Generic.List<Shared.Models.Construction.ConstructionResourceDataModel> constructionMaterialsList)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
7BBA855E58D73976187926E5CC197FEF9715081F44C1253D0B371334A0BAA1B9 - Body hash
1E0D4174DB35F1A9E13585A13A8DB2F1687E04E11A2F2539580FBC930826D717 - IL size141
Referenced calls
System.Collections.Generic.List<Shared.Models.Construction.ConstructionResourceDataModel>::GetEnumerator()List.Enumerator<Shared.Models.Construction.ConstructionResourceDataModel>::get_Current()System.String::Concat(System.String, System.String)Shared.Text.StringId::op_Implicit(System.String)System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionResourceDataModel>::TryAdd(!0, !1)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)List.Enumerator<Shared.Models.Construction.ConstructionResourceDataModel>::MoveNext()System.IDisposable::Dispose()
String literals
*resource:name*resource:descriptionDetected duplicate construction material id ''.
GetConstructionResourceOrMissing
#
public Shared.Models.Construction.ConstructionResourceDataModel GetConstructionResourceOrMissing(System.String id)
Method metadata
- Visibilitypublic
- Return type
Shared.Models.Construction.ConstructionResourceDataModel - StaticTrue
- VirtualFalse
- Hash
1BF2412B039EE5C8EA6E34F93E93D86DC94062567CFE5519AA4167B10AE0722A - Body hash
760CB13506076FB4A6854DF8B12416BBF30647B67F64F69A34988D687D08E380 - IL size26
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionResourceDataModel>::TryGetValue(!0, !1&)
Called by
CandideServer.Entities.Controllers.ServerBucketController::SetContentTypeCandide.CandideUI.Components.Displays.WorkRecipeResourceIngredientDisplay::InvalidateDataCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildWorkOrderOutputTooltipCandide.CandideUI.TradingPost.Components.ItemSearchControlHolder::SetDataCandide.CandideUI.TradingPost.Components.ItemSelectionWindow::ResponseToItemTradeAmountsCandide.CandideUI.UserControls.ResourceDisplayControl::DisplaysChangedCandide.CandideUI.UserControls.ResourceRequirementsControl::ResourceRequirementChangedCandide.Entities.Controllers.Legacy.BucketController::GetToolTipCandide.Entities.Controllers.Legacy.BucketController::SetContentTypeCandide.Entities.Controllers.Other.ConcreteMixerController::GetResourceNameCandide.Entities.Controllers.Other.MaterialStorageFluidContainerController::GetToolTipCandide.Entities.Controllers.Other.MaterialStorageStackController::GetToolTipShared.Data.DataModels.WorkRecipeModel::GetIconShared.Data.DataModels.WorkRecipeModel::GetName
GetConstructionResourceOrNull
#
public System.Nullable<Shared.Models.Construction.ConstructionResourceDataModel> GetConstructionResourceOrNull(System.String id)
Method metadata
- Visibilitypublic
- Return type
System.Nullable<Shared.Models.Construction.ConstructionResourceDataModel> - StaticTrue
- VirtualFalse
- Hash
7A026E84BD8F9ACD6381EBAC81B5D4CCF392753586BD1A38251A82A2A19CB00B - Body hash
D1A2958DD81CF12149CA92F75674EDF3F0E9B5F9561F07629C052F5E96596F44 - IL size35
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Models.Construction.ConstructionResourceDataModel>::TryGetValue(!0, !1&)System.Nullable<Shared.Models.Construction.ConstructionResourceDataModel>::.ctor(!0)
Called by
BM.GetHighestValueResourceFromList::UpdateCandideServer.Helpers.BucketEntityHelper::TrySetBucketParametersCandideServer.ServerControllers.InternalResourceStorageSController::CreateInternalResourceStorageCandideServer.ServerManagers.BuildingsServerManager::DepleteOutputResourceStorageCandideServer.ServerManagers.InternalResourceStorageServerManager::DropStorageAndDeleteCandide.Entities.Controllers.Other.MaterialStorageStackController::OnInteract