示例#1
0
 public static bool pluginit(ref Plugins.PLUG_INITSTRUCT initStruct)
 {
     Plugins.pluginHandle     = initStruct.pluginHandle;
     initStruct.sdkVersion    = Plugins.PLUG_SDKVERSION;
     initStruct.pluginVersion = plugin_version;
     initStruct.pluginName    = plugin_name;
     return(DotNetPluginCS.PluginInit(initStruct));
 }
示例#2
0
 public static bool pluginit(ref Plugins.PLUG_INITSTRUCT initStruct)
 {
     Plugins.pluginHandle     = initStruct.pluginHandle;
     initStruct.sdkVersion    = Plugins.PLUG_SDKVERSION;
     initStruct.pluginVersion = plugin_version;
     initStruct.pluginName    = plugin_name;
     Console.SetOut(new TextWriterPLog());
     return(DotNetPluginCS.PluginInit(initStruct));
 }
示例#3
0
 private static void plugsetup(ref Plugins.PLUG_SETUPSTRUCT setupStruct)
 {
     DotNetPluginCS.PluginSetup(setupStruct);
 }
示例#4
0
 private static bool plugstop()
 {
     DotNetPluginCS.PluginStop();
     return(true);
 }