Class RecipeExtensions
- Namespace
- Nautilus.Extensions
- Assembly
- Nautilus.dll
Contains extensions that are specific to the RecipeData and ITechData classes.
public static class RecipeExtensions
- Inheritance
-
RecipeExtensions
- Inherited Members
Methods
ConvertToRecipeData(ITechData)
Converts the games ITechData into Nautilus RecipeData.
public static RecipeData ConvertToRecipeData(this ITechData iTechData)
Parameters
iTechData
ITechData
Returns
ConvertToTechData(ITechData, TechType)
Converts a RecipeData to an ITechData.
public static CraftData.TechData ConvertToTechData(this ITechData techData, TechType techType)
Parameters
techData
ITechData- the original data to convert.
techType
TechType- The Techtype
Returns
- CraftData.TechData
- CraftData.TechData
SameAs(ITechData, ITechData)
Checks if the two ITechData are equal.
public static bool SameAs(this ITechData originalTechData, ITechData techData)
Parameters
originalTechData
ITechDatatechData
ITechData