Shared.Data.WorkRecipeDataBase
Type JSONpublic class in Shared.Data
Type metadata
- Assembly
Shared - Namespace
Shared.Data - Base type
System.Object - Hash
128B50194087F669712458834AA548749FE3EDEB508B4F5E8355D12F501BD0BC
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
DataMap# | public | public System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel> DataMap |
MissingData# | public | public Shared.Data.DataModels.WorkRecipeModel MissingData |
SuffixDescription# | public | public System.String SuffixDescription |
SuffixName# | public | public System.String SuffixName |
Methods
AddRecipes
#
public System.Void AddRecipes(System.Collections.Generic.List<Shared.Data.DataModels.WorkRecipeModel> recipes)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
474DFDD6ED083B36743F48DE6A5BC7032767BE4B80FC55311323D7320F54AFB1 - Body hash
FAF3D8FAD68DB7A5296132F138454ABDC3E2D803E0D49D4F621A8E0C41D37648 - IL size181
Referenced calls
System.Collections.Generic.List<Shared.Data.DataModels.WorkRecipeModel>::GetEnumerator()List.Enumerator<Shared.Data.DataModels.WorkRecipeModel>::get_Current()System.Nullable<Shared.Text.StringId>::get_HasValue()System.String::Concat(System.String, System.String)Shared.Text.StringId::op_Implicit(System.String)System.Nullable<Shared.Text.StringId>::.ctor(!0)System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::TryAdd(!0, !1)System.String::Concat(System.String, System.String, System.String)CandideCreator.Shared.Helpers.ServerWarningHelper::Warning(System.String)List.Enumerator<Shared.Data.DataModels.WorkRecipeModel>::MoveNext()System.IDisposable::Dispose()
String literals
*work_recipe:name*work_recipe:descriptionDetected duplicate recipes for recipe id ''.
GetRecipeOrMissing
#
public Shared.Data.DataModels.WorkRecipeModel GetRecipeOrMissing(System.String id)
Method metadata
- Visibilitypublic
- Return type
Shared.Data.DataModels.WorkRecipeModel - StaticTrue
- VirtualFalse
- Hash
2AC54323E8684D27B683966A4E8B7A4ACCBE0CB85F24B7C4F6FE2B407B39C8F5 - Body hash
43C67857A7E5DDF5F85CD0DF36CE34E1F9DECF6CE18E299159908D879758F2A5 - IL size26
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::TryGetValue(!0, !1&)
Called by
CandideServer.Models.Rewards.MultiWorkRecipeRewardStrategy::GetNameCandideServer.Models.Rewards.WorkRecipeRewardStrategy::GetNameCandideServer.ServerControllers.JobsSController::TryCreateWorkOrderCandide.CandideUI.JobUiNew.UserControls.SubControls.RecipeDetailsUserControl::OnCurrentRecipeChangedCandide.CandideUI.Tooltip.CandideTooltipHelper::BuildWorkOrderOutputTooltipCandide.GameModels.Controllers.JobsController::InsertRecipesCandide.GameModels.Controllers.JobsController::SyncCreateWorkOrderCandide.GameModels.Models.Jobs.Job::UpdateFromMessage
GetRecipeOrNull
#
public Shared.Data.DataModels.WorkRecipeModel GetRecipeOrNull(System.String id)
Method metadata
- Visibilitypublic
- Return type
Shared.Data.DataModels.WorkRecipeModel - StaticTrue
- VirtualFalse
- Hash
60D4E2FF35C39094D8C240A7C8D016DC23A46099CB0670430E71036D84D4B126 - Body hash
4D9D1C1D4148980E856D049F21887FA45F0412163C5C0B8CE512D2F266D02A4D - IL size22
Referenced calls
System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::TryGetValue(!0, !1&)
Called by
CandideServer.Buildings.BuildingControllers.BeehiveBuildingController::UpdateCandideServer.Buildings.BuildingControllers.DoliumController::UpdateCandideServer.Buildings.BuildingControllers.MillController::UpdateCandideServer.Buildings.BuildingControllers.WaterMillController::UpdateCandideServer.Helpers.ServerRandomItemStatsHelper::GetItemAuraForBuildingCandideServer.Models.Rewards.MultiWorkRecipeRewardStrategy::GetTextDescriptionCandideServer.Models.Rewards.WorkRecipeRewardStrategy::GetTextDescriptionCandideServer.ServerManagers.JobServerManager::SetCurrentWorkOrderFinishedCandide.CandideUI.JobUiNew.UserControls.MiddleRecipesUserControl::SetInventoryStateCandide.Entities.Controllers.Other.BeehiveEntityController::OnInteractCandide.GameModels.Controllers.JobsController::MakeWorkOrder