[Challenge] Plugins talk to other Plugins
Problem
I was wondering if it was possible to write for 1 plugin to send an array of bytes of data to another plugin running in the same bot.
Example:
*NOTE: This is just a rough draft of functions, that would be supported by the main Core methods.
Basically allows plugins to communicate to each other in the same instance of each bot.
I could figure how to work around this easily, however it would require much more work and I must manage my time as best as possible.
Challenge
If this is not already supported, I challenge you to respond with a work around that would be efficient and the most simple.
Have Questions?
Feel free to reply or PM me and I will get back to you.
Problem
I was wondering if it was possible to write for 1 plugin to send an array of bytes of data to another plugin running in the same bot.
Example:
Code:
public bool SendMsgToPlugin(string pluginName, byte[] msg)
{
return true if plugin is running.
false if it s not.
}
public delegate void OnPluginRecieveMsgDelegate(string senderPluginName, byte[] data);
public event OnPluginRecieveMsgDelegate OnPluginRecievesMessage;
Basically allows plugins to communicate to each other in the same instance of each bot.
I could figure how to work around this easily, however it would require much more work and I must manage my time as best as possible.
Challenge
If this is not already supported, I challenge you to respond with a work around that would be efficient and the most simple.
Have Questions?
Feel free to reply or PM me and I will get back to you.
Last edited: