public static void GenerateImpliedDefs_PostResolve() { foreach (KeyBindingCategoryDef current in KeyBindingDefGenerator.ImpliedKeyBindingCategoryDefs()) { DefGenerator.AddImpliedDef <KeyBindingCategoryDef>(current); } foreach (KeyBindingDef current2 in KeyBindingDefGenerator.ImpliedKeyBindingDefs()) { DefGenerator.AddImpliedDef <KeyBindingDef>(current2); } }
public static void GenerateImpliedDefs_PostResolve() { foreach (KeyBindingCategoryDef def in KeyBindingDefGenerator.ImpliedKeyBindingCategoryDefs()) { DefGenerator.AddImpliedDef <KeyBindingCategoryDef>(def); } foreach (KeyBindingDef def2 in KeyBindingDefGenerator.ImpliedKeyBindingDefs()) { DefGenerator.AddImpliedDef <KeyBindingDef>(def2); } }
public static void GenerateImpliedDefs_PreResolve() { IEnumerable <ThingDef> enumerable = ThingDefGenerator_Buildings.ImpliedBlueprintAndFrameDefs().Concat(ThingDefGenerator_Meat.ImpliedMeatDefs()).Concat(ThingDefGenerator_Corpses.ImpliedCorpseDefs()); foreach (ThingDef current in enumerable) { DefGenerator.AddImpliedDef <ThingDef>(current); } DirectXmlCrossRefLoader.ResolveAllWantedCrossReferences(FailMode.Silent); foreach (TerrainDef current2 in TerrainDefGenerator_Stone.ImpliedTerrainDefs()) { DefGenerator.AddImpliedDef <TerrainDef>(current2); } foreach (RecipeDef current3 in RecipeDefGenerator.ImpliedRecipeDefs()) { DefGenerator.AddImpliedDef <RecipeDef>(current3); } foreach (PawnColumnDef current4 in PawnColumnDefgenerator.ImpliedPawnColumnDefs()) { DefGenerator.AddImpliedDef <PawnColumnDef>(current4); } }