internal static EnumTranslator GenerateEnumTranslator() { var newTranslator = new EnumTranslator(); foreach (var v in ModdedIDRegistry.moddedIdRegistries) { newTranslator.GenerateTranslationTable(v.Value.GetAllModdedIDs()); } return(newTranslator); }
internal static EnumTranslator GenerateEnumTranslator(SRMod mod) { var newTranslator = new EnumTranslator(); foreach (var v in moddedIdRegistries) { newTranslator.GenerateTranslationTable(v.Value.GetIDsForMod(mod)); } return(newTranslator); }