/// <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);
 }
Exemple #2
0
 abstract public bool Init(ICocBot theBotServiceProvider);
Exemple #3
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);
 }