70 |
#region userControl Plugins |
#region userControl Plugins |
71 |
CheatCodeConverterPlugin, |
CheatCodeConverterPlugin, |
72 |
EmuMemoryMapPlugin, |
EmuMemoryMapPlugin, |
73 |
RVACalculatorPlugin, |
RVACheatListPlugin, |
74 |
ScratchPadPlugin, |
ScratchPadPlugin, |
75 |
#endregion |
#endregion |
76 |
|
|
335 |
#region RVACalculatorPlugin |
#region RVACalculatorPlugin |
336 |
internal class RVACalculatorPlugin |
internal class RVACalculatorPlugin |
337 |
{ |
{ |
338 |
private const PluginNames PluginName = Core.PluginNames.RVACalculatorPlugin; |
private const PluginNames PluginName = Core.PluginNames.RVACheatListPlugin; |
339 |
const string dll = @"plugins\RomCheater.RVACalculator.dll"; |
const string dll = @"plugins\RomCheater.RVACheatList.dll"; |
340 |
private static BasePluginDefinition bpd = null; |
private static BasePluginDefinition bpd = null; |
341 |
static RVACalculatorPlugin() |
static RVACalculatorPlugin() |
342 |
{ |
{ |
346 |
List<Type> types = new List<Type>(asm.GetTypes()); |
List<Type> types = new List<Type>(asm.GetTypes()); |
347 |
foreach (Type type in types) |
foreach (Type type in types) |
348 |
{ |
{ |
349 |
if (type.Name == "RVACalculatorPlugin") |
if (type.Name == "RVACheatListPlugin") |
350 |
{ |
{ |
351 |
ConstructorInfo ci = null; |
ConstructorInfo ci = null; |
352 |
ci = type.GetConstructor(new Type[] { }); |
ci = type.GetConstructor(new Type[] { }); |