For create you helpers class, look this sample: MyLib sample.zip (extract it in your WRobot folder, don't forget to activate plugins "MyLib Loader.cs").
This plugin contains two files, "MyLib Loader.cs" and "\MyLib\MyLib.cs".
"MyLib Loader.cs" load file "\MyLib\MyLib.cs".
"\MyLib\MyLib.cs" is your helpers class.
To try this, you can run c# code where you want:
MyLibNamespace.MyLib.Test();
(It is plugin, but you can convert "MyLib Loader.cs" to integrate it at your Quester or custom profiles).
To check if plugin is active use this code:
bool isActive = false;
foreach (var p in wManager.wManagerSetting.CurrentSetting.PluginsSettings)
{
if (p.FileName == "MyLib Loader.cs" && p.Actif)
{
isActive = true;
break;
}
}
or you can use "Var", in plugin Initialize method put:
robotManager.Helpful.Var.SetVar("MyLibInitialised", true);
and when you want check if plugin loaded (where you want in WRobot):
bool isActive = robotManager.Helpful.Var.Exist("MyLibInitialised") && robotManager.Helpful.Var.GetVar<bool>("MyLibInitialised");