public HSStudioNEOAddon() { //super(HSStudioNEOAddon, self).__init__("HSStudioNEOAddon") #can't get it to work ExtPlugin.@__init__(this, "HSStudioNEOAddon"); if (this.isDetected) { this.vmdMgr = BaseMgr[HSVMDAnimationMgr].Instance; } }
// init flags public void initFlag() { //plgdir = os.path.join(os.getcwd(), "Plugins/") if (ExtPlugin.exists(this.name)) { this.isDetected = true; clr.AddReference(this.name); //print self.name + ".dll detected." } else { this.isDetected = false; Console.WriteLine(this.name + ".dll not found."); } }
public static int exists(object name) { // usually check IPA folder // plgdir = os.path.join(os.getcwd(), "Plugins/") // // if get_engine_id() == "charastudio": // # in CharaStudio check BepInEx folder // plgdir = os.path.join(os.getcwd(), "BepInEx/") // // if get_engine_id() == "neov2": // # in StudioNeoV2 check BepInEx/plugins folder // plgdir = os.path.join(os.getcwd(), "BepInEx/Plugins/") var plgdir = ExtPlugin.calc_plugin_dir(); return(os.path.isfile(plgdir + "/" + name + ".dll")); }
public static object has_plugin(object pluginname) { return(ExtPlugin.exists(pluginname)); }
public KKPE() { //super(HSStudioNEOAddon, self).__init__("HSStudioNEOAddon") #can't get it to work ExtPlugin.@__init__(this, "KKPE"); }
public HSStudioNEOExtSave() { //super(HSStudioNEOExtSave, self).__init__("HSStudioNEOExtSave") #can't get it to work ExtPlugin.@__init__(this, "HSStudioNEOExtSave"); }