Romestead Assembly Reference

Shared.Data.WorkRecipeDataBase

Type JSON

public class in Shared.Data

Methods3
Properties0
Fields4
Events0
Type metadata
  • AssemblyShared
  • NamespaceShared.Data
  • Base typeSystem.Object
  • Hash128B50194087F669712458834AA548749FE3EDEB508B4F5E8355D12F501BD0BC

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
DataMappublicpublic System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel> DataMap
MissingDatapublicpublic Shared.Data.DataModels.WorkRecipeModel MissingData
SuffixDescriptionpublicpublic System.String SuffixDescription
SuffixNamepublicpublic System.String SuffixName

Methods

AddRecipes

public System.Void AddRecipes(System.Collections.Generic.List<Shared.Data.DataModels.WorkRecipeModel> recipes)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticTrue
  • VirtualFalse
  • Hash474DFDD6ED083B36743F48DE6A5BC7032767BE4B80FC55311323D7320F54AFB1
  • Body hashFAF3D8FAD68DB7A5296132F138454ABDC3E2D803E0D49D4F621A8E0C41D37648
  • 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:description
  • Detected duplicate recipes for recipe id '
  • '.

GetRecipeOrMissing

public Shared.Data.DataModels.WorkRecipeModel GetRecipeOrMissing(System.String id)

Method metadata
  • Visibilitypublic
  • Return typeShared.Data.DataModels.WorkRecipeModel
  • StaticTrue
  • VirtualFalse
  • Hash2AC54323E8684D27B683966A4E8B7A4ACCBE0CB85F24B7C4F6FE2B407B39C8F5
  • Body hash43C67857A7E5DDF5F85CD0DF36CE34E1F9DECF6CE18E299159908D879758F2A5
  • IL size26
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::TryGetValue(!0, !1&)
Called by

GetRecipeOrNull

public Shared.Data.DataModels.WorkRecipeModel GetRecipeOrNull(System.String id)

Method metadata
  • Visibilitypublic
  • Return typeShared.Data.DataModels.WorkRecipeModel
  • StaticTrue
  • VirtualFalse
  • Hash60D4E2FF35C39094D8C240A7C8D016DC23A46099CB0670430E71036D84D4B126
  • Body hash4D9D1C1D4148980E856D049F21887FA45F0412163C5C0B8CE512D2F266D02A4D
  • IL size22
Referenced calls
  • System.Collections.Generic.Dictionary<System.String, Shared.Data.DataModels.WorkRecipeModel>::TryGetValue(!0, !1&)
Called by