Ejemplo n.º 1
0
 /// <summary>
 /// Initialize the plugin. If it returns false, then the plugin is disabled.
 /// </summary>
 /// <returns></returns>
 virtual public bool Init(ICocBot theBotServiceProvider)
 {
     MainBot = theBotServiceProvider;
     theBotServiceProvider.WriteToOutput("Hello from BasePlugin");
     return(true);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize the plugin. If it returns false, then the plugin is disabled.
 /// </summary>
 /// <returns></returns>
 public override bool Init(ICocBot theBotServiceProvider)
 {
     base.Init(theBotServiceProvider);
     theBotServiceProvider.WriteToOutput("Hello from the plugin");
     return(true);
 }